When a style sheet is associated with an XML document via
<?xml-stylesheet type="text/css" href="print.css" media="print"?>
the media attribute is not respected and the contents of the sheet is used for the styling of screen content.
The media attribute should be respected with the same semantics as in HTML documents.
Firefox and Opera do not show this problem.
Created attachment 20726 [details]
Testcase demonstrating the problem.
Created attachment 20829 [details]
Media transfer was simply lacking :)
The test should probably check that "change" is sent after "input".
Confirmed as duplicate of Bug 11939.
Please duplicate to Bug 11939 when fixed!
(In reply to comment #5)
> Please duplicate to Bug 11939 when fixed!
I don't want to mark it as a duplicate now since I don't want Rob's patch to be "lost".
*** This bug has been marked as a duplicate of 11939 ***