Closed Bug 1499386 Opened 6 years ago Closed 6 years ago

Implement @supports selector() syntax.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(2 files)

This implements the selector(<complex-selector>) syntax for @supports.

See https://github.com/w3c/csswg-drafts/issues/3207 for explainer and
discussion.

Probably would should wait for that to be sorted out to land this, or maybe we
should put it behind a pref to get the code landed and change our
implementation if the discussion there leads to a change.
FYI the general wpt rule is that tests for underspecced features should have .tentative. in the filename. ALthough of course the CSSWG may have a different opinion.
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/631545ef7925
Implement @supports selector() syntax. r=heycam
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13576 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
https://hg.mozilla.org/mozilla-central/rev/631545ef7925
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
I've added an entry for this in our experimental features pages. Exe_Boss has done the page and BCD update, so I think the docs are complete on this one. Nice work!
Depends on: 1500097
Blocks: 1513643
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: