Closed
Bug 2328
Opened 26 years ago
Closed 26 years ago
media attribute values are parsed incorrectly
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: Antti.Nayha, Assigned: peterl-retired)
References
()
Details
According to rule #2 at
<URI:http://www.w3.org/TR/REC-html40/types.html#type-media-descriptors>,
media="screen anything" should be truncated to media="screen".
Jan 13 nightly build doesn't do this - it refuses to fetch style sheets
linked with:
<LINK rel=stylesheet type="text/css" href="my.css" media="screen anything">
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•26 years ago
|
||
Still an outstanding issue here. The CSS spec says media types are case
insensitive, the HTML spec says case sensitive. So now were case-sensitive.
Updated•26 years ago
|
Status: RESOLVED → REOPENED
QA Contact: 4054
Whiteboard: Fixed for LINK, not for STYLE.
Comment 3•26 years ago
|
||
This has been solved for the "link" element (and, I guess, the http link
header, although I cannot test that - see bug #1959), but it is still invalid
for the "style" element.
This is silly, since they should be using the same code.
See uri quoted above for a throrough test page. It uses the same medias as the
link element test page, so...
Assignee | ||
Updated•26 years ago
|
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Assignee | ||
Comment 4•26 years ago
|
||
The apperent problem is due to errors in the test page. Gecko is behaving
correctly.
Specifically:
Test 50d - media is set to "braille screen" (which is considered to be
"braille") where the test states "braille, all with print"
Test 50i - media is set to "braille, all with print" (which is accepted as
"all") where the test states "aural,not screen"
Test 50j - the class attribute is set to "exoticmediaX3" (from test 50i) where
it should be "exoticmediaX4"
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Whiteboard: Fixed for LINK, not for STYLE.
Comment 5•26 years ago
|
||
Arg! Terribly sorry. The page has been fixed.
Comment 6•26 years ago
|
||
Arg! Terribly sorry. The page has been fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•