Closed Bug 1888167 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 45378 - [anchor] Support parsing of inset-area()

Categories

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

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Anders Hartvoll Ruud <andruud@chromium.org> wrote:

[anchor] Support parsing of inset-area()

It doesn't actually do something yet however, since that's blocked on
supporting inset-area (the property) within @position-try at all.

Make sizeof(InsetAreaRegion) use uint8_t, since it now needs to be part
of each PositionTryOption.

Bug: 329687279
Change-Id: I7d620aebe1d7f54ff0c1d53addd57430df7333f4
Reviewed-on: https://chromium-review.googlesource.com/5402136
WPT-Export-Revision: a6b298651bc211ebef5d04c6d5dac73ec20f757f

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

CI Results

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

Total 2 tests and 44 subtests

Status Summary

Firefox

OK : 2
PASS: 17
FAIL: 47

Chrome

OK : 2
PASS: 46
FAIL: 18

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-anchor-position/parsing/position-try-options-computed.html [wpt.fyi]
    • Property position-try-options value 'none': FAIL (Chrome: PASS)
    • Property position-try-options value 'flip-block': FAIL (Chrome: PASS)
    • Property position-try-options value 'flip-inline': FAIL (Chrome: PASS)
    • Property position-try-options value 'flip-start': FAIL (Chrome: PASS)
    • Property position-try-options value 'flip-block, flip-inline': FAIL (Chrome: PASS)
    • Property position-try-options value '--foo, --bar': FAIL (Chrome: PASS)
    • Property position-try-options value 'flip-start flip-inline flip-block': FAIL (Chrome: PASS)
    • Property position-try-options value 'flip-start --flop': FAIL (Chrome: PASS)
    • Property position-try-options value '--flop flip-start': FAIL (Chrome: PASS)
    • Property position-try-options value 'inset-area(left top)': FAIL (Chrome: FAIL)
    • Property position-try-options value 'inset-area(top left)': FAIL (Chrome: FAIL)
    • Property position-try-options value 'inset-area(start start)': FAIL (Chrome: FAIL)
    • Property position-try-options value 'inset-area(left), inset-area(right)': FAIL (Chrome: FAIL)
    • Property position-try-options value '--foo, inset-area(left)': FAIL (Chrome: FAIL)
    • Property position-try-options value '--foo, inset-area(left), --bar': FAIL (Chrome: FAIL)
    • Property position-try-options value '--foo, flip-start, inset-area(left)': FAIL (Chrome: FAIL)
    • Property position-try-options value '--foo flip-start, inset-area(left)': FAIL (Chrome: FAIL)
    • Property position-try-options value 'inset-area(left), --bar flip-start': FAIL (Chrome: FAIL)
    • Property position-try-options has initial value none: FAIL (Chrome: PASS)
    • Property position-try-options does not inherit: FAIL (Chrome: PASS)
  • /css/css-anchor-position/parsing/position-try-options-parsing.html [wpt.fyi]
    • e.style['position-try-options'] = "initial" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "inherit" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "unset" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "revert" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "none" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "flip-block" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "flip-block " should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "flip-start, flip-block" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "flip-start flip-inline, flip-block" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "flip-start, flip-start" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "flip-start flip-inline flip-block" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "flip-block, --foo" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "--bar, flip-block flip-start" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "--foo, --bar, --baz" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "--bar flip-block" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "--bar flip-inline flip-block" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "flip-inline --foo" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "flip-inline flip-start --foo" should set the property value: FAIL (Chrome: PASS)
    • e.style['position-try-options'] = "inset-area(left top)" should set the property value: FAIL (Chrome: FAIL)
    • e.style['position-try-options'] = "inset-area(top left)" should set the property value: FAIL (Chrome: FAIL)
    • e.style['position-try-options'] = "inset-area(start start)" should set the property value: FAIL (Chrome: FAIL)
    • e.style['position-try-options'] = "inset-area(left), inset-area(right)" should set the property value: FAIL (Chrome: FAIL)
    • e.style['position-try-options'] = "--foo, inset-area(left)" should set the property value: FAIL (Chrome: FAIL)
    • e.style['position-try-options'] = "--foo, inset-area(left), --bar" should set the property value: FAIL (Chrome: FAIL)
    • e.style['position-try-options'] = "--foo, flip-start, inset-area(left)" should set the property value: FAIL (Chrome: FAIL)
    • e.style['position-try-options'] = "--foo flip-start, inset-area(left)" should set the property value: FAIL (Chrome: FAIL)
    • e.style['position-try-options'] = "inset-area(left), --bar flip-start" should set the property value: FAIL (Chrome: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c0f2c3a706d9 [wpt PR 45378] - [anchor] Support parsing of inset-area(), a=testonly https://hg.mozilla.org/integration/autoland/rev/c6a3c42bb942 [wpt PR 45378] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.