This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15181 - Override of non-recognised media type appears unsupported in xml-stylesheet processing
Summary: Override of non-recognised media type appears unsupported in xml-stylesheet p...
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-webapps-bugzilla
Depends on:
Reported: 2011-12-14 17:15 UTC by Henry S. Thompson
Modified: 2013-08-08 13:26 UTC (History)
4 users (show)

See Also:


Description Henry S. Thompson 2011-12-14 17:15:33 UTC
In the course of building test cases for xml-stylesheet processing in HTML5 (see and, I discovered that none of the latest versions of Chrome, Firefox, IE or Opera implement clause 5 of "6.3.3 Requirements on User Agents Implementing the xml-stylesheet processing instruction" in CSSOM ( or the parallel clause 4 in the next section.  I believe on the basis of a 3rd-party report that IE7 does do so.  Test cases can be found at [vanilla case where SS is called
                                                  test8.css, served as text/css 
                                                  by Apache default,
                                                  works everywhere] [SS is called, served
                                                   as text/css by explicit
                                                   setting in .htaccess,
                                                   works everywhere] [SS is called test8.baz, served
                                                   as text/plain
                                                   by Apache default,
                                                   works nowhere except IE7 AFAIK]

The xml-stylesheet PI spec itself says that the 'type' pseudo-attribute, whose value is 'text/css' in all the above examples, is only advisory, so this isn't exactly a bug _yet_, but I thought a heads-up was none-the-less appropriate. . .
Comment 1 Simon Pieters 2013-05-28 09:44:41 UTC
Your test cases are not in quirks mode.

Better tests: (standards mode) (quirks mode)

It seems at least Firefox implements this (but I found a bug with caching).