Test cases: assigning external CSS to an HTML document with the @import rule in a style element. There are test cases with single or double quotes, with or without the url() syntax. The @import element may have a media descriptor. E.g. (CSS):
<?xml-stylesheet type="text/css" href="css/xml-stylesheet_all.css" media="all"?>
See the Specification "Associating Style Sheets with XML documents" for more information on the xml-stylesheet processing-instruction.
| User Agent | Method | ||||||
|---|---|---|---|---|---|---|---|
| xml-stylesheet | xml-stylesheet media= "all" | xml-stylesheet media= "screen" | xml-stylesheet media= "print" | xml-stylesheet media= "handheld" | xml-stylesheet media= "projection" | xml-stylesheet media= "tv" | |
| Amaya (Win) 7.2 - 8.0 | yes | yes | yes | no | no | no | no |
| Amaya (Win) 7.2 - 8.0 (print) | yes | yes | yes | yes | yes | yes | yes |
| iCab (Mac) 2.9.1 | ? | ? | ? | ? | ? | ? | ? |
| iCab (Mac) 2.9.1 (print) | ? | ? | ? | ? | ? | ? | ? |
| IE (Mac) 5.0 | ? | ? | ? | ? | ? | ? | ? |
| IE (Mac) 5.0 (print) | ? | ? | ? | ? | ? | ? | ? |
| IE (Mac) 5.2.2 | ? | ? | ? | ? | ? | ? | ? |
| IE (Mac) 5.2.2 (print) | ? | ? | ? | ? | ? | ? | ? |
| IE (Win) 5.0 - 6.0 | yes | yes | yes | no | no | no | no |
| IE (Win) 5.0 - 6.0 (print) | yes | yes | no | yes | no | no | no |
| Konqueror (Linux) 3.0 | no | no | no | no | no | no | no |
| Konqueror(Linux) 3.0 (print) | no | no | no | no | no | no | no |
| Mozilla 0.8 - 1.6 | yes | yes | yes | no | no | no | no |
| Mozilla 0.9.2 - 1.6 (print) | yes | yes | no | yes | no | no | no |
| Netscape 4.x | no | no | no | no | no | no | no |
| Netscape 4.x (print) | no | no | no | no | no | no | no |
| OmniWeb (Mac) 4.1.1 | ? | ? | ? | ? | ? | ? | ? |
| OmniWeb (Mac) 4.1.1 (print) | ? | ? | ? | ? | ? | ? | ? |
| Opera (Linux) 5.0 - 6.12 | no | no | no | no | no | no | no |
| Opera (Linux) 5.0 - 6.12 (print) | no | no | no | no | no | no | no |
| Opera (Linux) 5.0 - 6.12 (projection) | no | no | no | no | no | no | no |
| Opera (Win) 3.62 - 6.06 | no | no | no | no | no | no | no |
| Opera (Win) 3.62 - 6.06 (print) | no | no | no | no | no | no | no |
| Opera (Win) 4.02 - 6.06 (projection) | no | no | no | no | no | no | no |
| Opera (Win) 7.03 - 7.10 | yes | yes | yes | no | no | no | no |
| Opera (Win) 7.03 - 7.10 (print) | yes | yes | no | yes | no | no | no |
| Opera (Win) 7.03 - 7.10 (projection) | yes | yes | no | no | no | yes | no |
| Opera (Win) 7.10 (small screen) | yes | yes | no | no | yes | no | no |
| Safari (Mac) v. 64 | ? | ? | ? | ? | ? | ? | ? |
| Safari (Mac) v. 64 (print) | ? | ? | ? | ? | ? | ? | ? |
| WebTV 2.6 | no | no | no | no | no | no | no |
| MSN TV 2.8 | no | no | no | no | no | no | no |
| Nokia Mobile Browser 3.0.1 | no | no | no | no | no | no | no |
| Nokia 6590 | yes | yes | yes | no | yes | no | no |
| Openwave 6.0 - 6.2 | no | no | no | no | no | no | no |
| Palm Tungsten 2.0.1 | no | no | no | no | no | no | no |
| SonyEricsson P800 | yes | yes | no | no | yes | no | no |
Note: Win IE 6.0 and Mozilla 0.8 do not understand 'application/xhtml+xml' and use external CSS only when served as 'text/xml' or 'application/xml'.
Note: For Netscape 6.1 - 7.02 and other Gecko-based browsers, see the information on Mozilla.