RESOLVED DUPLICATE of bug 11939 18657
Associating style sheets with XML documents does not respect media types
https://bugs.webkit.org/show_bug.cgi?id=18657
Summary Associating style sheets with XML documents does not respect media types
Frank Illenberger
Reported 2008-04-21 09:02:23 PDT
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.
Attachments
Testcase demonstrating the problem. (2.64 KB, application/octet-stream)
2008-04-21 09:03 PDT, Frank Illenberger
no flags
First attempt (5.10 KB, patch)
2008-04-26 03:04 PDT, Rob Buis
rwlbuis: review-
Frank Illenberger
Comment 1 2008-04-21 09:03:02 PDT
Created attachment 20726 [details] Testcase demonstrating the problem.
Rob Buis
Comment 2 2008-04-26 03:04:19 PDT
Created attachment 20829 [details] First attempt Media transfer was simply lacking :) Cheers, Rob.
Maciej Stachowiak
Comment 3 2008-04-26 14:22:17 PDT
The test should probably check that "change" is sent after "input".
David Kilzer (:ddkilzer)
Comment 4 2008-04-26 15:07:55 PDT
Confirmed as duplicate of Bug 11939.
David Kilzer (:ddkilzer)
Comment 5 2008-04-26 15:08:39 PDT
Please duplicate to Bug 11939 when fixed!
David Kilzer (:ddkilzer)
Comment 6 2008-04-26 15:09:14 PDT
(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".
Rob Buis
Comment 7 2008-04-27 00:13:05 PDT
*** This bug has been marked as a duplicate of 11939 ***
Note You need to log in before you can comment on or make changes to this bug.