Closed Bug 1850069 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 41627 - [anchor-position] Allow multiple anchor names on the same element

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 41627 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/41627
Details from upstream follow.

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

[anchor-position] Allow multiple anchor names on the same element

This patch implements the recent CSSWG resolution to change
anchor-name property into a comma-separated list of names:

https://github.com/w3c/csswg-drafts/issues/8837#issuecomment-1690145010

Fixed: 1475812
Change-Id: I5d8abb58fa8bfc9ee5dd72a833098ae8685496c1

Reviewed-on: https://chromium-review.googlesource.com/4811709
WPT-Export-Revision: 86ad9e7d0225b57d042c1f19ffbc1d93b94da041

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 8 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 40 subtests

Status Summary

Firefox

OK : 2
PASS: 4
FAIL: 39

Chrome

OK : 2
PASS: 39
FAIL: 4

Safari

OK : 2
PASS: 4
FAIL: 39

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-anchor-position/anchor-name-004.html [wpt.fyi]
    • .target 1: FAIL (Chrome: FAIL, Safari: FAIL)
    • .target 2: FAIL (Chrome: FAIL, Safari: FAIL)
    • .target 3: FAIL (Chrome: PASS, Safari: FAIL)
  • /css/css-anchor-position/anchor-name-basics.html [wpt.fyi]
    • e.style['anchor-name'] = "none" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['anchor-name'] = "--foo" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['anchor-name'] = "--foo, --bar" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • Property anchor-name value 'none': FAIL (Chrome: PASS, Safari: FAIL)
    • Property anchor-name value '--foo': FAIL (Chrome: PASS, Safari: FAIL)
    • Property anchor-name value '--foo, --bar': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property anchor-name has initial value none: FAIL (Chrome: PASS, Safari: FAIL)
    • Property anchor-name does not inherit: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions: property <anchor-name> from [--foo] to [none] at (-0.3) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions: property <anchor-name> from [--foo] to [none] at (0) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions: property <anchor-name> from [--foo] to [none] at (0.3) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions: property <anchor-name> from [--foo] to [none] at (0.5) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions: property <anchor-name> from [--foo] to [none] at (0.6) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions: property <anchor-name> from [--foo] to [none] at (1) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions: property <anchor-name> from [--foo] to [none] at (1.5) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions with transition: all: property <anchor-name> from [--foo] to [none] at (-0.3) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions with transition: all: property <anchor-name> from [--foo] to [none] at (0) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions with transition: all: property <anchor-name> from [--foo] to [none] at (0.3) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions with transition: all: property <anchor-name> from [--foo] to [none] at (0.5) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions with transition: all: property <anchor-name> from [--foo] to [none] at (0.6) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions with transition: all: property <anchor-name> from [--foo] to [none] at (1) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Transitions with transition: all: property <anchor-name> from [--foo] to [none] at (1.5) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Animations: property <anchor-name> from [--foo] to [none] at (-0.3) should be [--foo]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Animations: property <anchor-name> from [--foo] to [none] at (0) should be [--foo]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Animations: property <anchor-name> from [--foo] to [none] at (0.3) should be [--foo]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Animations: property <anchor-name> from [--foo] to [none] at (0.5) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Animations: property <anchor-name> from [--foo] to [none] at (0.6) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Animations: property <anchor-name> from [--foo] to [none] at (1) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • CSS Animations: property <anchor-name> from [--foo] to [none] at (1.5) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • Web Animations: property <anchor-name> from [--foo] to [none] at (-0.3) should be [--foo]: FAIL (Chrome: PASS, Safari: FAIL)
    • Web Animations: property <anchor-name> from [--foo] to [none] at (0) should be [--foo]: FAIL (Chrome: PASS, Safari: FAIL)
    • Web Animations: property <anchor-name> from [--foo] to [none] at (0.3) should be [--foo]: FAIL (Chrome: PASS, Safari: FAIL)
    • Web Animations: property <anchor-name> from [--foo] to [none] at (0.5) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • Web Animations: property <anchor-name> from [--foo] to [none] at (0.6) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • Web Animations: property <anchor-name> from [--foo] to [none] at (1) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
    • Web Animations: property <anchor-name> from [--foo] to [none] at (1.5) should be [none]: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3010f96fe649 [wpt PR 41627] - [anchor-position] Allow multiple anchor names on the same element, a=testonly https://hg.mozilla.org/integration/autoland/rev/52b24bfc5e0d [wpt PR 41627] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.