Closed Bug 561580 Opened 15 years ago Closed 15 years ago

@media {} should be invalid (i.e., @media rules don't allow empty media lists)

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED INVALID
mozilla1.9.3a5

People

(Reporter: dbaron, Assigned: dbaron)

Details

(Keywords: css3)

Attachments

(1 file)

In http://lists.w3.org/Archives/Public/www-style/2009Aug/0128.html the CSS working group resolved that @media rules should not allow empty media lists. I wrote a patch for it immediately, but never got around to filing a bug. (The minutes aren't all that clear, but the discussion was clear that the change was specific to @media and not a general media queries change.) (I'll attach the patch once it passes try server; it requires at least one unit test adjustment and maybe more.)
Attached patch patchSplinter Review
Passes all unit tests on try on Linux and Mac. Still waiting for Windows results, but no reason to think they'll be different.
Attachment #441318 - Flags: review?(bzbarsky)
Comment on attachment 441318 [details] [diff] [review] patch r=bzbarsky
Attachment #441318 - Flags: review?(bzbarsky) → review+
The CSS working group decided at yesterday's telecon that it should be valid after all. So this is now invalid.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: