Closed
Bug 677642
Opened 13 years ago
Closed 13 years ago
[css3-mediaqueries] media queries defines <resolution> as accepting <number>, not just <integer>
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla8
People
(Reporter: dbaron, Assigned: dbaron)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
2.11 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
http://www.w3.org/TR/css3-mediaqueries/#values says <resolution> is <number> (not <integer>) followed by a unit identifier. (At the time I implemented it I think this was vague, and I implemented <integer>.)
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #551847 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 2•13 years ago
|
||
Assignee | ||
Comment 3•13 years ago
|
||
Yeah, I committed the tests in July 2008 (which means I wrote them earlier):
https://hg.mozilla.org/mozilla-central/rev/bb091bc06282
Anne landed text in the spec just before I did that, defining it as <integer> in:
revision 1.24
date: 2008/06/12 14:16:20; author: avankest; state: Exp; lines: +21 -21
define <ratio> to allow whitespace around '/' in aspect-ratio and device-aspect-ratio
and then changed it to <number> in:
revision 1.25
date: 2008/08/26 10:45:50; author: avankest; state: Exp; lines: +16 -9
work around bugs in the preprocessor; make grid:2 an error; add notes about not affecting HTML and all; <resolution> takes numbers
![]() |
||
Comment 4•13 years ago
|
||
Comment on attachment 551847 [details] [diff] [review]
patch
r=me
Attachment #551847 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 5•13 years ago
|
||
Priority: -- → P3
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Keywords: dev-doc-needed
Keywords: dev-doc-needed → dev-doc-complete
A note in "Firefox 8 for Developers" doesn't make dev-doc-complete.
Updating https://developer.mozilla.org/en/CSS/media_queries#resolution
should be considered, at least.
Keywords: dev-doc-complete → dev-doc-needed
Comment 8•13 years ago
|
||
Docs updated:
https://developer.mozilla.org/en/CSS/number
https://developer.mozilla.org/en/CSS/Media_queries#resolution
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•