Cascading Acid Test

If you have any comments to make regarding this test, e-mail ian@hixie.ch.

Prerequisites
Browsers that are subjected to this test should support the CSS color properties, grouping CSS selectors (a, b, c { }), the HTML LINK element method of importing stylesheets, the STYLE element, the @import construct (simple and media dependant variants) and the HTTP Link header.

NOTE! If you send me any ideas of what else I could add to this test, I will almost certainly agree and throw it in. So long as it is valid, and somehow remotely relevant to the issue of importing and/or cascading, then it will go in! So please send me suggestions.

Note. This is also test 48 of the ImportTest.

1. The Test

There are quite a few stylesheets linked in to this document. In the following list, every item should be green.

  1. Should be green - Linked with LINK HTTP Header.
  2. Should be green - Linked with LINK HTTP Header.
  3. Should be green - Linked with LINK.
  4. Should be green - Linked in the same META as the next one.
  5. Should be green - Linked in the same META as the last one.
  6. Should be green - Linked with LINK.
  7. Should be green - @imported with media "screen, tv" in a STYLE block.
  8. Should be green - @imported in the same STYLE block as the previous test.
  9. Should be green - Linked with LINK.
  10. Should be green - Linked with META.
  11. Should be green - In a STYLE block.
  12. Should be green - Linked with META.
  13. Should be green - @imported from the stylesheet of the previous test.
  14. Should be green - Linked with LINK as an alternate stylesheet and selected by HTTP header.
  15. Should be green - Linked with LINK.
  16. Should be green - Linked with META.

Submit Results

How does your browser fare on this test?


Up to the Evil Tests Page or to the Eviller ImportTest.

Bugzilla: Bug 1959

This page is maintained by Ian Hickson (ian@hixie.ch).

Last updated in January 1999.