Closed Bug 1943959 Opened 27 days ago Closed 25 days ago

[wpt-sync] Sync PR 50294 - Disallow empty token stream inside if() function

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 50294 into mozilla-central (this bug is closed when the sync is complete).

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

Munira Tursunova <moonira@google.com> wrote:

Disallow empty token stream inside if() function

"if()" should be invalid parse time according to [0].

Move CSSInlineIfForStyleQueries flag to test.

Changed wpt tests using if(){} as non substitutable value.

[0] https://drafts.csswg.org/css-values-5/#if-notation

Bug: 346977961
Change-Id: I1112bc16f00043e6784213b0c00d19f0cc71dd20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6197081
Commit-Queue: Munira Tursunova \<moonira@google.com>
Reviewed-by: Anders Hartvoll Ruud \<andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1411577}

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

CI Results

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

Total 2 tests and 106 subtests

Status Summary

Firefox

OK : 1
PASS: 106
FAIL: 1

Chrome

OK : 1
PASS: 107

Safari

OK : 1
PASS: 106
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-paint-api/registered-property-value-003.https.html [wpt.fyi]: FAIL [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

  • /css/css-paint-api/registered-property-value-003.https.html [wpt.fyi]: FAIL [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9ec3e5fb98d6 [wpt PR 50294] - Disallow empty token stream inside if() function, a=testonly
Status: NEW → RESOLVED
Closed: 25 days ago
: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.