forked from w3c/csswg-drafts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdifferences.txt
More file actions
38 lines (24 loc) · 1.59 KB
/
differences.txt
File metadata and controls
38 lines (24 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
This document attempts to describe the differences between the Media Queries
W3C Candidate Recommendation 6 June 2007 and the current editor's draft.
It serves as a non-normative guide for implementors interested in knowing
what has changed since the last publication.
» Clarified that is expected the forward compatible parsing rules of HTML 4
will become obsolete in the next version of HTML in favor of just using
the parsing rules set forth by the Media Queries specification.
» Defined the media query syntax in terms of CSS 2.1, including how user
agents are supposed to recover from syntax errors.
» Clarified that negating an unknown media type makes it evaluate to true.
» Clarified that unknown media features make the media query malformed.
» For each media feature value it is now more clearly defined what the range
of allowed values is. Eg, the 'width' media feature takes non-negative
<length>s and 'grid' takes 0, -0, and 1.
» Clarified how using a media feature without value works.
» Media features prefixed with min- or max- cannot be used without a value.
(Whether this was allowed by the 2007 CR draft is open to interpretation.)
» Defined <ratio> and <resolution> so it is more clear how these values are
supposed to be parsed. (The 2007 CR draft is ambiguous.)
Most, if not all, of these changes are captured in public CVS:
http://dev.w3.org/cvsweb/csswg/css3-mediaqueries/Overview.html
Additionally there is a disposition of comments available covering comments,
replies, and changes since the 2002 CR draft:
http://dev.w3.org/csswg/css3-mediaqueries/disposition.html