[wpt-sync] Sync PR 42796 - Improve scroller loop for intersection observer scroll margin
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42796 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42796
Details from upstream follow.
Xianzhu Wang <wangxianzhu@chromium.org> wrote:
Improve scroller loop for intersection observer scroll margin
Now if there are scroll margins, collect the intermediate scrollers
into a vector in RootAndTarget when walking the containing block
chain in RootAndTarget::ComputeRelationship() instead of walk the
containing block chain again in ClipToRoot(). For scroll margin,
ClipToRoot() now calls ApplyClip() in a loop instead of calling
itself recursively.Bug: 1485750
Change-Id: I0be9ff83df91969c9253235e11387dbe48042a82Reviewed-on: https://chromium-review.googlesource.com/4977999
WPT-Export-Revision: 69d9a85b758c59788694feab96736f6e1d80f9dc
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK
: 2
PASS
: 1
FAIL
: 1
Chrome
OK
: 2
PASS
: 1
FAIL
: 1
Safari
OK
: 2
PASS
: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /intersection-observer/scroll-margin-with-border-outline.html [wpt.fyi]
- Test scroll margin intersection:
FAIL
(Chrome:FAIL
, Safari:PASS
)
- Test scroll margin intersection:
Comment 5•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ce68f2b12ad2
https://hg.mozilla.org/mozilla-central/rev/2624af704a2e
Description
•