[wpt-sync] Sync PR 40928 - [anchor-position] Fix a bug with `position-fallback-bounds`
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40928 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40928
Details from upstream follow.
Xiaocheng Hu <xiaochengh@chromium.org> wrote:
[anchor-position] Fix a bug with
position-fallback-bounds
position-fallback-bounds
needs anAnchorScrollData
to track the
scroll offset of the additional fallback-bounds rect. However, currently
AnchorScrollData
's create condition doesn't consider the property,
which makes it fail if the element doesn't explicitly set
anchor-scroll
oranchor-default
.This patch fixes it.
Bug: 1455557
Change-Id: Icb2860e847c00de9071e984d9e3e155a0524d86b
Reviewed-on: https://chromium-review.googlesource.com/4674051
WPT-Export-Revision: 6cf537b1322107250c6da1bae153ff7fe4c35a57
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=5c25e9884d3b9aac2670f362c3189e5c39c2d8bc
Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK
: 1
PASS
: 1
FAIL
: 1
Chrome
OK
: 1
PASS
: 1
FAIL
: 1
Safari
OK
: 1
PASS
: 1
FAIL
: 1
Links
Details
New Tests That Don't Pass
- /css/css-anchor-position/position-fallback-bounds-006.html [wpt.fyi]
- Target is below anchor at initial scroll position:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Target is below anchor at initial scroll position:
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aaa7d9d068c2 [wpt PR 40928] - [anchor-position] Fix a bug with `position-fallback-bounds`, a=testonly https://hg.mozilla.org/integration/autoland/rev/e76342ba680d [wpt PR 40928] - Update wpt metadata, a=testonly
Comment 4•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/aaa7d9d068c2
https://hg.mozilla.org/mozilla-central/rev/e76342ba680d
Description
•