gecko-dev/testing/web-platform
David Shin 38a02c1025 Bug 1768921 - Ensure that padding inflated bounds of in-flow children are included in the scrollable element's overflow area. r=dholbert
This means that when users scroll to the inline-end of a scroller, they will
see that the inline-end padding of that scroller is added in.

This is achieved by unioning an additional rect into the scrollable element's
overflow area (Which is an accumulation of the recursive overflow-area
contributions from its subtree).

This additional rect is calculated as follows:
- In-flow children and float's margin boxes are unioned (including zero-size boxes)
- The unioned rect is then inflated by the scrollable element's padding

Note: The bounds of zero-area in-flow-child rects are included in this rect,
in both block- and inline- directions. This is a change in behavior; Divs of
huge inline size and zero block size used to not affect the scrollable overflow,
where divs with huge block size and zero inline size did, as a side effect of now
removed `nsBlockFrame::ConsiderBlockEndEdgeOfChildren`.

Note on WPT change sizing-orthog-(vlr|vrl)-in-htb-(008|020)-ref.xht - the padding existed
to force empty space below `p#sentence-after`. However, this only applies to previous
Firefox. Any combination of browser + default font (+ its default size) causing a scroll
would cause the test to fail as false positive (According to wpt.fyi, this is what happens
with sizing-orthog-(vlr|vrl)-008.xht tests). This change brings Firefox's scroll behaviour
inline with other browsers.

Differential Revision: https://phabricator.services.mozilla.com/D151310
2024-11-13 20:29:13 +00:00
..
docs
meta Bug 1768921 - Ensure that padding inflated bounds of in-flow children are included in the scrollable element's overflow area. r=dholbert 2024-11-13 20:29:13 +00:00
mozilla Bug 1874394 - Add basic subscription test with dummy push server r=jgraham,asuth 2024-11-13 09:53:26 +00:00
outbound
products
tests Bug 1768921 - Ensure that padding inflated bounds of in-flow children are included in the scrollable element's overflow area. r=dholbert 2024-11-13 20:29:13 +00:00
update
interop.py
mach_commands_base.py
mach_commands.py Bug 1929112 - [wpt] Remove the wpt fissionregressions command and CI tests. r=jgraham,cpeterson,jmaher 2024-11-07 09:06:55 +00:00
mach_test_package_commands.py
manifestdownload.py
manifestupdate.py Bug 1919741 - Allow specifying extra websockets handler directories, r=Sasha 2024-11-13 09:53:25 +00:00
metamerge.py
metasummary.py
moz.build
python.toml
runtests.py
test_metamerge.py
unittestrunner.py
vcs.py
wptrunner.ini Bug 1919741 - Allow specifying extra websockets handler directories, r=Sasha 2024-11-13 09:53:25 +00:00