Closed Bug 2018652 Opened 9 months ago Closed 8 months ago

[wpt-sync] Sync PR 57980 - Disallow random() inside @media

Categories

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

task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

moonira <moonira@google.com> wrote:

Disallow random() inside @media

We will for now disallow any random() (even non element dependent
random(element-shared, ...) values) inside @media, same as
sibling-index()/sibling-count(). Random() spec briefly mentions it, see
issue 11 [0] and there is an open discussion about it [1], so
marking tests as tentative for now.

[0] https://drafts.csswg.org/css-values-5/#issue-cd071f29
[1] https://github.com/w3c/csswg-drafts/issues/10982

Bug: 413385732
Change-Id: I36edd94818241b2600f531c727043972f1c6dc29
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7597500
Commit-Queue: Munira Tursunova \<moonira@google.com>
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1588683}

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

CI Results

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

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
PASS: 4

Chrome

OK : 1
PASS: 4

Safari

OK : 1
PASS: 4

Links

GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
You need to log in before you can comment on or make changes to this bug.