Closed Bug 1884908 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 45022 - [css-anchor-position] Fall back to no options applied

Categories

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

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

[css-anchor-position] Fall back to no options applied

@position-try should fall back to the style with no options applied if
all options were overflowing the containing block.

Bug: 40279608
Change-Id: I745aa8da05df3a87696c223edeffdaf0df0ff94c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5359207
Reviewed-by: Anders Hartvoll Ruud \<andruud@chromium.org>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1271462}

PR 45022 applied with additional changes from upstream: 69e720aae17dafdfd36091964b54db14ab498612
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
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 5 tests and 12 subtests

Status Summary

Firefox

OK : 3
PASS : 5
FAIL : 18
ERROR: 1

Chrome

OK : 4
PASS : 7
FAIL : 18

Safari

OK : 3
PASS : 5
FAIL : 18
ERROR: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-anchor-position/anchor-scroll-chained-fallback.tentative.html [wpt.fyi]: FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-anchor-position/at-position-try-invalidation-shadow-dom.html [wpt.fyi]: ERROR (Chrome: OK, Safari: ERROR)
  • /css/css-anchor-position/position-try-001.html [wpt.fyi]
    • .target 1: FAIL (Chrome: PASS, Safari: FAIL)
    • .target 2: FAIL (Chrome: FAIL, Safari: FAIL)
    • .target 3: FAIL (Chrome: FAIL, Safari: FAIL)
    • .target 4: FAIL (Chrome: FAIL, Safari: FAIL)
    • .target 5: FAIL (Chrome: FAIL, Safari: FAIL)
    • .target 6: FAIL (Chrome: PASS, Safari: FAIL)
  • /css/css-anchor-position/position-try-cascade-layer-reorder.html [wpt.fyi]
    • When in the same layer, the last rule of each name wins: FAIL (Chrome: FAIL, Safari: FAIL)
    • When in different layers, the rule of each name in the highest layer wins: FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-anchor-position/position-try-tree-scoped.html [wpt.fyi]
    • Document position-try-options matches @position-try in document scope: FAIL (Chrome: FAIL, Safari: FAIL)
    • Outer position-try-options matches @position-try in document scope: FAIL (Chrome: FAIL, Safari: FAIL)
    • Outer position-try-options matches @position-try in #outer_host scope: FAIL (Chrome: FAIL, Safari: FAIL)
    • Inner position-try-options matches @position-try in document scope: FAIL (Chrome: FAIL, Safari: FAIL)
    • Inner position-try-options matches @position-try in #outer_host scope: FAIL (Chrome: FAIL, Safari: FAIL)
    • Inner position-try-options matches @position-try in #inner_host scope: FAIL (Chrome: FAIL, Safari: FAIL)
    • @position-try from same scope as :host rule: FAIL (Chrome: FAIL, Safari: FAIL)
    • @position-try from same scope as ::slotted() rule: FAIL (Chrome: FAIL, Safari: FAIL)
    • @position-try from same scope as ::part() rule: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/89fb03b04c7c [wpt PR 45022] - [css-anchor-position] Fall back to no options applied, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.