This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7646 - Media Queries
Summary: Media Queries
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
Keywords: NE, NoReply
Depends on:
Reported: 2009-09-16 10:38 UTC by Anne
Modified: 2010-10-04 14:48 UTC (History)
4 users (show)

See Also:


Description Anne 2009-09-16 10:38:29 UTC
A new draft of Media Queries has been published. This no longer allows the empty string or a series whitespace characters as being a valid media query. HTML5 needs the following changes:

1. Its concept of "valid media query" should stay the same. (The change is that the empty string and a series of whitespace characters becomes non-conforming.)

2. It needs a concept of parsing a media query value that should probably be used by <link media>, <a media>, <area media>, and <source media>. This should treat the empty string or a string consisting of just whitespace characters as meaning "all" for backwards compatibility. Everything else should be parsed as per the Media Queries specification.

3. <source media> needs to be updated to state that if the attribute is omitted it defaults to all.

The new CR draft:
Comment 1 contributor 2009-09-21 09:59:16 UTC
Checked in as WHATWG revision r3926.
Check-in comment: Update media query requirements to treat '' as 'all'.
Comment 2 Maciej Stachowiak 2010-03-14 14:51:24 UTC
This bug predates the HTML Working Group Decision Policy.

If you are satisfied with the resolution of this bug, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:

This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.