Closed Bug 1882868 Opened 2 years ago Closed 1 years ago

[wpt-sync] Sync PR 44864 - [css-anchor-position] Parser support for @position-try rules

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox125 fixed)

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

[css-anchor-position] Parser support for @position-try rules

Adding parsing support for @position-try without removing support for
@position-fallback. @position-fallback rule are still being applied for
now.

Bug: 40279608
Change-Id: If81a0707287ee317fa4f8080afc459c157fad4e0
Reviewed-on: https://chromium-review.googlesource.com/5331723
WPT-Export-Revision: cd94f22b047c406f9f0f386dee6cfd90dcf170f8

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 12 subtests

Status Summary

Firefox

OK : 1
PASS: 4
FAIL: 8

Chrome

OK : 1
PASS: 4
FAIL: 8

Safari

OK : 1
PASS: 4
FAIL: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-anchor-position/at-position-try-parse.html [wpt.fyi]
    • @position-try --foo { } should be a valid rule: FAIL (Chrome: FAIL, Safari: FAIL)
    • @position-try --foo { top: 1px; } should be a valid rule: FAIL (Chrome: FAIL, Safari: FAIL)
    • @position-try --foo { backround-color: green; } should be a valid rule: FAIL (Chrome: FAIL, Safari: FAIL)
    • @position-try --foo { @keyframes bar {} } should be a valid rule: FAIL (Chrome: FAIL, Safari: FAIL)
    • @position-try --foo { @font-face {} } should be a valid rule: FAIL (Chrome: FAIL, Safari: FAIL)
    • @position-try --foo { @media print {} } should be a valid rule: FAIL (Chrome: FAIL, Safari: FAIL)
    • @position-try --foo { & {} } should be a valid rule: FAIL (Chrome: FAIL, Safari: FAIL)
    • @position-try --foo { arbitrary garbage } should be a valid rule: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/adb7e30f4f82 [wpt PR 44864] - [css-anchor-position] Parser support for @position-try rules, a=testonly https://hg.mozilla.org/integration/autoland/rev/aa409ad46e78 [wpt PR 44864] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.