Closed Bug 2004653 Opened 5 months ago Closed 5 months ago

Fix parsing of custom media queries.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
148 Branch
Tracking Status
firefox148 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

I forgot to parse the custom dashed ident :)

If only -- is present, what currently happens? I believe more WPT tests need to be added.

@custom-media -- (width > 0px);
@media (--) {
  :root {
    background: green;
  }
}
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/56560 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
Upstream PR merged by moz-wptsync-bot
QA Whiteboard: [qa-triage-done-c149/b148]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: