Closed Bug 1942633 Opened 26 days ago Closed 25 days ago

[wpt-sync] Sync PR 50175 - [functions] Consume whitespace after type()

Categories

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

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

[functions] Consume whitespace after type()

Bug: 325504770
Change-Id: I2fe51bef48cf61959d064ed31064929374178171
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6172340
Reviewed-by: Steinar H Gunderson \<sesse@chromium.org>
Commit-Queue: Anders Hartvoll Ruud \<andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1408630}

PR 50175 applied with additional changes from upstream: 9e75c82e243486329eb3991a08c965377c9e9690
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 1 tests and 69 subtests

Status Summary

Firefox

OK : 1
PASS: 22
FAIL: 47

Chrome

OK : 1
PASS: 22
FAIL: 47

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-mixins/at-function-parsing.html [wpt.fyi]
    • @function --foo() is valid: FAIL (Chrome: FAIL)
    • @function --foo( ) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x) is valid: FAIL (Chrome: FAIL)
    • @function --foo( --x ) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x auto) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <angle>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <color>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <custom-ident>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <image>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <integer>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <length>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <length-percentage>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <number>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <percentage>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <resolution>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <string>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <time>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <url>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <transform-function>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <transform-list>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x type(auto)) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x type(<length>)) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x type(<length> | auto)) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x type(none | auto)) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x type(*)) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x, --y) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x, --y, --z) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <length>, --y, --z) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x, --y <number>, --z <angle>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x : 10px) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <length>: 10px) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <length>: 10px, --y) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x, --y <length>: 10px) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x type(<length> | auto): auto) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x type(<length> | auto) : auto) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <angle>: 10px) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <length>#) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <length>+) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x type(<length>+)) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <transform-function>#) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x <transform-function>+) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x) returns type(*) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x) returns <length> is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x) returns <length>+ is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x) returns type(<length>) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x) returns type(<length> | auto) is valid: FAIL (Chrome: FAIL)
    • @function --foo(--x) returns type(foo | bar) is valid: FAIL (Chrome: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0b50ad2faad9 [wpt PR 50175] - [functions] Consume whitespace after type(), a=testonly https://hg.mozilla.org/integration/autoland/rev/5b3793e9b897 [wpt PR 50175] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.