gecko-dev/layout/xul
Kartikaya Gupta e089e9f404 Bug 1550510 - Stop hoisting scrollinfo items inside filters when WR is enabled. r=botond
In bug 1527182 we made it so that APZ can directly drag-scroll scrollframes
that are inside SVG effects, because that's possible with WR on the compositor.
However the code changed in that bug was meant to be kept in sync with
a second piece of code. The second piece of code controls the generation
of ScrollInfo items for scrollframes inside SVG effects - since we can
APZ-scroll them with WR, we don't need the scrollinfo item anymore.
Producing the scrollinfo item was changing the structure of the APZ tree
in terms of where the transform ended up, and was causing badness with
untransforming the drag mouse events.

This patch adds a test that covers the scenario and also corrects the defect
by bringing the two bits of code back in sync.

Differential Revision: https://phabricator.services.mozilla.com/D31647

--HG--
extra : moz-landing-system : lando
2019-05-18 00:17:50 +00:00
..
crashtests Bug 1519956, remove box object related crashtests that will no longer be applicable with no box objects, r=bzbarsky 2019-03-07 17:57:12 -05:00
grid Bug 1545342 - part 2: Make some public enum of nsIPresShell move to mozilla namespace and defined as enum class in PresShellForwards.h r=smaug 2019-04-25 05:04:15 +00:00
reftest Bug 1539026 - Skia m74 fuzzing. r=rhunt 2019-03-26 14:52:45 -04:00
test Bug 1519502 - Convert menu bindings to a Custom Element r=surkov 2019-04-18 16:41:46 +00:00
tree Bug 1549751 - Part 2: Add nsPaintedDisplayItem r=mattwoodrow 2019-05-08 13:49:56 +00:00
BoxObject.cpp Bug 1543315 - part 9: Mark nsIPresShell::FlushPendingNotifications() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-04-13 12:43:57 +00:00
BoxObject.h Bug 1543315 - part 9: Mark nsIPresShell::FlushPendingNotifications() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-04-13 12:43:57 +00:00
moz.build Bug 1546374 - Do not adjust position of popup windows on Wayland; r=stransky 2019-04-26 17:57:36 +00:00
nsBox.cpp Bug 1523969 part 14 - Move method definition inline comments to new line in 'layout/'. r=dholbert 2019-02-25 16:09:24 -06:00
nsBox.h Bug 1525371 - Kill ComputedStyle::mPresContext, move the pointer to the frame instead. r=jwatt 2019-02-07 11:15:36 +01:00
nsBoxFrame.cpp Bug 1546697 - Use a consistent style for enum classes in layout. r=dholbert 2019-04-25 23:03:04 +00:00
nsBoxFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsBoxLayout.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsBoxLayout.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsBoxLayoutState.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsBoxLayoutState.h Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
nsButtonBoxFrame.cpp Bug 1547618 - Make dom use mozilla::PresShell rather than via nsIPresShell r=smaug 2019-04-30 01:35:30 +00:00
nsButtonBoxFrame.h Bug 1547618 - Make dom use mozilla::PresShell rather than via nsIPresShell r=smaug 2019-04-30 01:35:30 +00:00
nsDeckFrame.cpp Bug 1547418 - Make CapturingContentInfo a private struct of PresShell and move APIs for it from nsIPresShell to PresShell r=smaug 2019-04-30 00:26:57 +00:00
nsDeckFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsDocElementBoxFrame.cpp Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsGroupBoxFrame.cpp Bug 1549751 - Part 2: Add nsPaintedDisplayItem r=mattwoodrow 2019-05-08 13:49:56 +00:00
nsIBoxObject.idl Bug 1489617 - Get rid of XUL box related component registrations. r=Ehsan 2018-09-09 15:05:18 +00:00
nsIPopupContainer.h Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
nsIScrollbarMediator.h Bug 1373835 - Enable scroll snap for programatic scrolls. r=botond 2019-04-11 06:20:04 +00:00
nsImageBoxFrame.cpp Bug 1547792 - AspectRatio should be a single ratio, not a size. r=dholbert 2019-05-02 23:28:21 +00:00
nsImageBoxFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsLeafBoxFrame.cpp Bug 1545360: Make nsBoxFrame and nsLeafBoxFrame invoke (or inherit) superclass MarkIntrinsicISizesDirty() method. r=emilio 2019-04-21 01:47:36 +00:00
nsLeafBoxFrame.h Bug 1545360: Make nsBoxFrame and nsLeafBoxFrame invoke (or inherit) superclass MarkIntrinsicISizesDirty() method. r=emilio 2019-04-21 01:47:36 +00:00
nsMenuBarFrame.cpp Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMenuBarFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMenuBarListener.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsMenuBarListener.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsMenuFrame.cpp Bug 1545342 - part 2: Make some public enum of nsIPresShell move to mozilla namespace and defined as enum class in PresShellForwards.h r=smaug 2019-04-25 05:04:15 +00:00
nsMenuFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMenuParent.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsMenuPopupFrame.cpp Bug 1539471 - [wayland] Track active popup windows on Wayland and use dynamic popup hierarchy, r=ashie 2019-05-07 11:28:04 +00:00
nsMenuPopupFrame.h Bug 1543315 - part 15: Mark PresShell::ScrollFrameRectIntoView() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-05-06 13:57:46 +00:00
nsPIBoxObject.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsPopupSetFrame.cpp Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsPopupSetFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsRepeatService.cpp Bug 1523969 part 14 - Move method definition inline comments to new line in 'layout/'. r=dholbert 2019-02-25 16:09:24 -06:00
nsRepeatService.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsResizerFrame.cpp Bug 1547618 - Make dom use mozilla::PresShell rather than via nsIPresShell r=smaug 2019-04-30 01:35:30 +00:00
nsResizerFrame.h Bug 1547618 - Make dom use mozilla::PresShell rather than via nsIPresShell r=smaug 2019-04-30 01:35:30 +00:00
nsRootBoxFrame.cpp Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
nsScrollbarButtonFrame.cpp Bug 1545342 - part 1: Create mozilla/PresShellForwards.h and move global enums/constants in nsIPresShell.h and mozilla/PresShell.h into the new one r=smaug 2019-04-25 05:02:20 +00:00
nsScrollbarButtonFrame.h Bug 1543315 - part 15: Mark PresShell::ScrollFrameRectIntoView() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-05-06 13:57:46 +00:00
nsScrollbarFrame.cpp Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsScrollbarFrame.h Bug 1543315 - part 15: Mark PresShell::ScrollFrameRectIntoView() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-05-06 13:57:46 +00:00
nsSliderFrame.cpp Bug 1550510 - Stop hoisting scrollinfo items inside filters when WR is enabled. r=botond 2019-05-18 00:17:50 +00:00
nsSliderFrame.h Bug 1543315 - part 15: Mark PresShell::ScrollFrameRectIntoView() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-05-06 13:57:46 +00:00
nsSplitterFrame.cpp Bug 1545342 - part 2: Make some public enum of nsIPresShell move to mozilla namespace and defined as enum class in PresShellForwards.h r=smaug 2019-04-25 05:04:15 +00:00
nsSplitterFrame.h Bug 1543315 - part 15: Mark PresShell::ScrollFrameRectIntoView() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-05-06 13:57:46 +00:00
nsSprocketLayout.cpp Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio 2019-04-04 00:19:48 +00:00
nsSprocketLayout.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsStackFrame.cpp Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
nsStackFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsStackLayout.cpp Bug 1523969 part 14 - Move method definition inline comments to new line in 'layout/'. r=dholbert 2019-02-25 16:09:24 -06:00
nsStackLayout.h Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
nsTextBoxFrame.cpp Bug 1550554 - Add bindings for box shadows, and remove nsCSSShadowArray and friends. r=heycam 2019-05-16 23:04:32 +00:00
nsTextBoxFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsTitleBarFrame.cpp Bug 1547618 - Make dom use mozilla::PresShell rather than via nsIPresShell r=smaug 2019-04-30 01:35:30 +00:00
nsTitleBarFrame.h Bug 1547618 - Make dom use mozilla::PresShell rather than via nsIPresShell r=smaug 2019-04-30 01:35:30 +00:00
nsXULLabelFrame.cpp Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsXULLabelFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsXULPopupManager.cpp Bug 1547618 - Make dom use mozilla::PresShell rather than via nsIPresShell r=smaug 2019-04-30 01:35:30 +00:00
nsXULPopupManager.h Bug 1543315 - part 13: Mark PresShell::Paint() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-05-06 13:25:35 +00:00
nsXULTooltipListener.cpp Bug 1540015 - part 3: Rename Document::GetShell() to Document::GetPresShell() and make it return PresShell* rather than nsIPresShell* r=smaug,emilio 2019-03-29 15:12:47 +00:00
nsXULTooltipListener.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00