gecko-dev/layout/xul/tree
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
moz.build Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
nsITreeSelection.idl
nsITreeView.idl
nsTreeBodyFrame.cpp Bug 1766805 - Introduce intended direction and intended end position concepts. r=botond 2022-05-12 12:25:15 +00:00
nsTreeBodyFrame.h Bug 1766805 - Introduce intended direction and intended end position concepts. r=botond 2022-05-12 12:25:15 +00:00
nsTreeColFrame.cpp Bug 1720804 - Part 1: Move majority of the display list code inside mozilla namespace r=mattwoodrow 2021-07-19 11:28:20 +00:00
nsTreeColFrame.h
nsTreeColumns.cpp Backed out 2 changesets (bug 1737694) for causing web platform tests failures on autocapitalize.html CLOSED TREE 2021-10-27 10:50:15 -04:00
nsTreeColumns.h Backed out 2 changesets (bug 1737694) for causing web platform tests failures on autocapitalize.html CLOSED TREE 2021-10-27 10:50:15 -04:00
nsTreeContentView.cpp
nsTreeContentView.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsTreeImageListener.cpp
nsTreeImageListener.h
nsTreeSelection.cpp
nsTreeSelection.h
nsTreeStyleCache.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
nsTreeStyleCache.h Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
nsTreeUtils.cpp
nsTreeUtils.h