[wpt-sync] Sync PR 46173 - [anchor] Support anchor-scope property
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46173 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46173
Details from upstream follow.
Anders Hartvoll Ruud <andruud@chromium.org> wrote:
[anchor] Support anchor-scope property
The behavior of anchor-scope is similar to the previous behavior
we had for contain:style, and therefore this CL is based on that
code from futhark@. (Added in CL:5237173, and removed again
in CL:5378414).We have to remove the optimizations in InsertInReverseTreeOrderInto
for the same reasons explained in CL:5237173.Bug: 40281992
Change-Id: Ib8007cae39cc2e2481dc819b2608469d1f474350
Reviewed-on: https://chromium-review.googlesource.com/5526614
WPT-Export-Revision: 5a3039d4cad30d190aa33834376e8d816562958a
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=f0b8121830a01a7346bea6014badba95ff4e0681
Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests and 35 subtests
Status Summary
Firefox
OK
: 5
PASS
: 9
FAIL
: 29
ERROR
: 1
Chrome
OK
: 6
PASS
: 35
FAIL
: 38
Safari
OK
: 6
PASS
: 35
FAIL
: 38
Links
Details
Firefox-only Failures
New Tests That Don't Pass
- /css/css-anchor-position/anchor-scope-basic.html [wpt.fyi]
- anchor-scope:all on sibling:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - anchor-scope:all scopes multiple names:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - anchor-scope:--a,--b scopes --a and --b:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - anchor-scope:--a scopes only --a:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - anchor-scope:--b scopes only --b:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - anchor-scope:--a scopes only --a (out-of-flow anchors):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - anchor-scope:--a scopes only --a (both out-of-flow and in-flow anchors):
FAIL
(Chrome:FAIL
, Safari:FAIL
) - anchor-scope:--a scopes only --a (both out-of-flow and in-flow anchors, reverse):
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- anchor-scope:all on sibling:
- /css/css-anchor-position/anchor-scope-dynamic.html [wpt.fyi]
- anchor-scope:all appearing dynamically:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - anchor-scope:--a appearing dynamically:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - anchor-scope:--a appearing dynamically scopes only --a:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- anchor-scope:all appearing dynamically:
- /css/css-anchor-position/anchor-scope-shadow.tentative.html [wpt.fyi]
- anchor-scope scopes to the flat tree:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- anchor-scope scopes to the flat tree:
- /css/css-anchor-position/parsing/anchor-scope-computed.html [wpt.fyi]
- Property anchor-scope value 'none':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Property anchor-scope value 'initial':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Property anchor-scope value 'all':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Property anchor-scope value '--a':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Property anchor-scope value '--a, --b':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Property anchor-scope value '--a, --b, --c':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Property anchor-scope has initial value none:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Property anchor-scope does not inherit:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Property anchor-scope value 'none':
- /css/css-anchor-position/parsing/anchor-scope-parsing.html [wpt.fyi]
- e.style['anchor-scope'] = "initial" should set the property value:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - e.style['anchor-scope'] = "inherit" should set the property value:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - e.style['anchor-scope'] = "unset" should set the property value:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - e.style['anchor-scope'] = "revert" should set the property value:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - e.style['anchor-scope'] = "none" should set the property value:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - e.style['anchor-scope'] = "all" should set the property value:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - e.style['anchor-scope'] = "--a" should set the property value:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - e.style['anchor-scope'] = "--a, --b" should set the property value:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - e.style['anchor-scope'] = "--a, --b, --c" should set the property value:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- e.style['anchor-scope'] = "initial" should set the property value:
- /css/css-typed-om/the-stylepropertymap/properties/anchor-scope.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:OK
)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/64f9c68906b9 [wpt PR 46173] - [anchor] Support anchor-scope property, a=testonly https://hg.mozilla.org/integration/autoland/rev/9fbb081ad66e [wpt PR 46173] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/64f9c68906b9
https://hg.mozilla.org/mozilla-central/rev/9fbb081ad66e
Description
•