Closed Bug 1873889 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 43918 - [@container] Never select containers for unknown queries

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

[@container] Never select containers for unknown queries

Per resolution in [1]. Spec PR in [2]. Behind a flag.

[1] https://github.com/w3c/csswg-drafts/issues/7551#issuecomment-1854385652
[2] https://github.com/w3c/csswg-drafts/pull/9776

Bug: 1511267
Change-Id: Icf2cde2c54eec770ff4c3b5ac03a1558d8a3733f
Reviewed-on: https://chromium-review.googlesource.com/5181075
WPT-Export-Revision: f8ff5a8415a19746e250dfb9a86b4c8c9c93d39e

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 3 tests and 38 subtests

Status Summary

Firefox

OK : 3
PASS: 55
FAIL: 17

Chrome

OK : 3
PASS: 61
FAIL: 11

Safari

OK : 3
PASS: 55
FAIL: 17

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-contain/container-queries/container-selection-unknown-features.html [wpt.fyi]
    • width query with (foo: bar): FAIL (Chrome: FAIL, Safari: FAIL)
    • width query with foo(bar): FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-contain/container-queries/query-evaluation-style.html [wpt.fyi]
    • style((--foo: bar)): FAIL (Chrome: PASS, Safari: FAIL)
    • style(not (--baz: qux)): FAIL (Chrome: PASS, Safari: FAIL)
    • style((--foo: bar) and (--foo: bar)): FAIL (Chrome: PASS, Safari: FAIL)
    • style((--foo: bar) and (--foo: bar) and (--foo: bar)): FAIL (Chrome: PASS, Safari: FAIL)
    • style((--foo: bar) or (--foo: bar)): FAIL (Chrome: PASS, Safari: FAIL)
    • style((--foo: bar) or (--foo: bar) or (--foo: bar)): FAIL (Chrome: PASS, Safari: FAIL)
    • style((--baz: qux) or (--foo: bar) or (--foo: bar)): FAIL (Chrome: PASS, Safari: FAIL)
    • style((--foo: bar) or (--baz: qux) or (--foo: bar)): FAIL (Chrome: PASS, Safari: FAIL)
    • style((--foo: bar) or (--foo: bar) or (--baz: qux)): FAIL (Chrome: PASS, Safari: FAIL)
    • style(not ((--foo: bar) and (--baz: qux))): FAIL (Chrome: PASS, Safari: FAIL)
    • style((--baz: qux) or (not ((--baz: qux) and (--foo: bar)))): FAIL (Chrome: PASS, Safari: FAIL)
  • /css/css-contain/container-queries/query-evaluation.html [wpt.fyi]
    • ((unknown) or (width) or (width)): FAIL (Chrome: FAIL, Safari: FAIL)
    • ((width) or (unknown) or (width)): FAIL (Chrome: FAIL, Safari: FAIL)
    • ((width) or (width) or (unknown)): FAIL (Chrome: FAIL, Safari: FAIL)
    • ((unknown) or (height) or (width)): FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0568b3409351 [wpt PR 43918] - [@container] Never select containers for unknown queries, a=testonly https://hg.mozilla.org/integration/autoland/rev/ccaeebc863d2 [wpt PR 43918] - Update wpt metadata, a=testonly
Severity: -- → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.