CSS2 Test Suite: 6.4.1 Cascading Order

[index page] [section] [Previous] [Next] [Specification]

The style declarations contained within this page:

<LINK rel="stylesheet" type="text/css" HREF="linktest.css">
LI {color: purple;}
UL LI {color: blue;}
UL LI LI {color: gray;}
LI.red {color: green;}
UL LI.mar {color: #660000;}
UL LI#gre {color: green;}
.test {color: blue;}
.test {color: purple;}
.cl1 {text-decoration: line-through;}


This sentence should be blue (STYLE attr.).

This sentence should be purple [class="test"].

[cl1] This text should be stricken (overriding the imported underline; only works if LINKed sheets are supported).


[index page] [section] [Previous] [Next] [Specification]