gecko-dev/layout/xul
Hiroyuki Ikezoe a457a5cfbb Bug 1766805 - Introduce intended direction and intended end position concepts. r=botond
The scroll snap spec defines the concepts [1]. There are three type of scroll
operations. 1) intended end position, 2) intended direction and end position
and 3) intended direction.

Basically our existing ScrollUnits types correspond;

1) DEVICE_PIXELS, WHOLE => intended end position
2) PAGES => intended direction and end position
3) LINES => intended direction

There are two exceptions in the `intended direction and end position` case,
scrollBy() and fling gestures (on Linux). They were defined as scroll operations
with DEVICE_PIXELS unit, but the spec cleary says they are `intended direction
and end position` operations.

Note that we will also use this information for scroll-snap-stop property since
the properly will only have effects on both 2) and 3) cases.

[1] https://drafts.csswg.org/css-scroll-snap/#scroll-types

Depends on D145190

Differential Revision: https://phabricator.services.mozilla.com/D145191
2022-05-12 12:25:15 +00:00
..
crashtests
reftest Bug 1700292 - reftest for marks on horizontal scrollbar. r=layout-reviewers,jfkthame 2022-03-01 13:19:00 +00:00
test Bug 1765156 - Part 7: Use SpecialPowers.ChromeUtils.import in layout/. r=kmag 2022-05-03 06:32:27 +00:00
tree Bug 1766805 - Introduce intended direction and intended end position concepts. r=botond 2022-05-12 12:25:15 +00:00
moz.build Bug 1754105: Fix non-unified build errors in layout/xul, and mark it as safe to build in non-unified mode. r=emilio 2022-02-08 20:16:55 +00:00
nsBox.cpp Bug 1748181 - Provide a pref to make scrollbar-width: thin behave as auto. r=morgan 2022-02-07 18:14:31 +00:00
nsBoxFrame.cpp Bug 1714584 - Part 1: Decouple nsDisplayList internal list from nsDisplayItems r=mstange 2022-02-22 23:42:18 +00:00
nsBoxFrame.h
nsBoxLayout.cpp
nsBoxLayout.h
nsBoxLayoutState.cpp
nsBoxLayoutState.h
nsButtonBoxFrame.cpp
nsButtonBoxFrame.h
nsDeckFrame.cpp Bug 1754435. Add a simple cache for nsDeckFrame::GetSelectedBox. r=emilio 2022-02-10 12:27:44 +00:00
nsDeckFrame.h Bug 1754435. Add a simple cache for nsDeckFrame::GetSelectedBox. r=emilio 2022-02-10 12:27:44 +00:00
nsDocElementBoxFrame.cpp
nsIPopupContainer.h
nsIScrollbarMediator.h Bug 1766805 - Introduce intended direction and intended end position concepts. r=botond 2022-05-12 12:25:15 +00:00
nsImageBoxFrame.cpp Bug 1755747 - Add support for antialiased non-snapped rectangles. r=gfx-reviewers,aosmond 2022-02-23 13:37:39 +00:00
nsImageBoxFrame.h
nsLeafBoxFrame.cpp
nsLeafBoxFrame.h
nsMenuBarFrame.cpp Bug 1729805 - Make async OpenMenu simpler/sound. r=NeilDeakin,mstange 2022-01-25 21:40:22 +00:00
nsMenuBarFrame.h
nsMenuBarListener.cpp Bug 1754105: Fix non-unified build errors in layout/xul, and mark it as safe to build in non-unified mode. r=emilio 2022-02-08 20:16:55 +00:00
nsMenuBarListener.h
nsMenuFrame.cpp Bug 1755165 - Check MayShowMenu synchronously in async OpenMenu. r=NeilDeakin 2022-02-14 23:40:57 +00:00
nsMenuFrame.h
nsMenuParent.h
nsMenuPopupFrame.cpp Bug 1765714 - Move Wayland popup bounds check to LayoutPopup(). r=stransky 2022-04-22 08:44:58 +00:00
nsMenuPopupFrame.h Bug 1757996 - Improve context menu handling on Wayland. r=stransky 2022-03-04 11:45:41 +00:00
nsPopupSetFrame.cpp
nsPopupSetFrame.h
nsRepeatService.cpp
nsRepeatService.h
nsResizerFrame.cpp
nsResizerFrame.h
nsRootBoxFrame.cpp
nsScrollbarButtonFrame.cpp Bug 1766805 - Introduce intended direction and intended end position concepts. r=botond 2022-05-12 12:25:15 +00:00
nsScrollbarButtonFrame.h
nsScrollbarFrame.cpp Bug 1766805 - Introduce intended direction and intended end position concepts. r=botond 2022-05-12 12:25:15 +00:00
nsScrollbarFrame.h
nsSliderFrame.cpp Bug 1766805 - Introduce intended direction and intended end position concepts. r=botond 2022-05-12 12:25:15 +00:00
nsSliderFrame.h
nsSplitterFrame.cpp
nsSplitterFrame.h
nsSprocketLayout.cpp Bug 1765474 - Fix unused-but-set-variable warning in nsSprocketLayout.cpp. r=emilio 2022-04-22 01:25:07 +00:00
nsSprocketLayout.h
nsStackLayout.cpp
nsStackLayout.h
nsTextBoxFrame.cpp Bug 1745113 Part 5 - Make grapheme cluster break iterators implement SegmentIteratorUtf16, and adapt the callers. r=necko-reviewers,jfkthame,kershaw 2022-01-13 18:36:04 +00:00
nsTextBoxFrame.h
nsTitleBarFrame.cpp
nsTitleBarFrame.h
nsXULPopupManager.cpp Bug 1762152 - Remove XULPopupElement.isAnchored. r=Gijs 2022-04-04 13:29:30 +00:00
nsXULPopupManager.h Bug 1755165 - Check MayShowMenu synchronously in async OpenMenu. r=NeilDeakin 2022-02-14 23:40:57 +00:00
nsXULTooltipListener.cpp Bug 1756323 - Fix tooltip coordinates in presence of full zoom. r=jfkthame 2022-02-21 17:30:08 +00:00
nsXULTooltipListener.h Bug 1756323 - Fix tooltip coordinates in presence of full zoom. r=jfkthame 2022-02-21 17:30:08 +00:00