[wpt-sync] Sync PR 45550 - [css-anchor-position] Support CSS visibility for anchors-visible
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 45550 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45550
Details from upstream follow.
Philip Rogers <pdr@chromium.org> wrote:
[css-anchor-position] Support CSS visibility for anchors-visible
We previously supported position-visibility: anchors-visible only for
the "intersection visibility" of the anchor element. This patch extends
anchors-visible to also be based on the CSS visibility of the anchor
element.Implementation notes:
- CSS visibility of anchor elements can change without notifying the
anchored element. To catch these style changes, we loop over all used
anchor elements every lifecycle update with
LocalFrame::CheckPositionAnchorsForCssVisibilityChanges.- LayerPositionVisibility has been introduced to support the two aspects
of anchors-visible visibility. These can be tracked independently.Spec:
https://github.com/w3c/csswg-drafts/issues/7758#issuecomment-1965540529Bug: 332663437
Change-Id: Id043217fb33308c7af35a3d9fbe103a5c552a34a
Reviewed-on: https://chromium-review.googlesource.com/5425736
WPT-Export-Revision: 4adb8f33807ee45c2a74c7e833dc955b483d3f54
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 8 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests
Status Summary
Firefox
FAIL: 2
Chrome
PASS: 1
FAIL: 1
Safari
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-anchor-position/position-visibility-anchors-visible-change-css-visibility.tentative.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-anchor-position/position-visibility-anchors-visible-css-visibility.tentative.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL)
Comment 4•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a9d1adfc46ef
https://hg.mozilla.org/mozilla-central/rev/2dec489295ff
Description
•