xml-stylesheet ignores media

RESOLVED WORKSFORME

Status

()

Core
XML
RESOLVED WORKSFORME
16 years ago
15 years ago

People

(Reporter: Heikki Toivonen (remove -bugzilla when emailing directly), Assigned: Heikki Toivonen (remove -bugzilla when emailing directly))

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

Not sure if we really have this bug, haven't tested, but since somebody
complained about this in a newsgroup this should be tested.

A testcase would be an XML file with two stylesheets, second one having media
print. According to the reporter, Mozilla always uses the last stylesheet, when
it should use the first for screen and the second for print.

Comment 1

16 years ago
I will look into this issue. Not sure how we handles this in either xml or xhtml
documents.
Status: UNCONFIRMED → NEW
Ever confirmed: true
If I recall correctly, we _do_ parse the PI to get the media attribute and then 
pass that on to the CSS loader...  A testcase would be nice.
Created attachment 66516 [details]
screen.css
Created attachment 66517 [details]
print.css
Created attachment 66518 [details]
Testcase
WFM
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WORKSFORME

Updated

15 years ago
QA Contact: petersen → rakeshmishra
You need to log in before you can comment on or make changes to this bug.