CSS1 Test Suite: 1.1 Containment in HTML
[Previous] [Next] [Section] [Contents] [Specification]
Last Updated: 11 May 1998
The style declarations which apply to the text below are:
<LINK rel="stylesheet" type="text/css" href="linktest.css" title="Link1">
<LINK rel="alternate stylesheet" type="text/css" href="linktest2.css" title="Link2">
UL {color: red;}
@import url(imptest1.css);
@import "imptest1a.css";
.four {color: purple;}
This sentence should be underlined due to the linked style sheet linktest.css
, the reference to which is shown above.
This sentence should NOT be underlined due to the linked style sheet linktest2.css
, UNLESS the sheet "Link2" has been selected via the user agent.
-
This sentence should be green due to an imported style sheet [
@import url(imptest1.css);
].
-
This sentence should be dark green due to an imported style sheet [
@import "imptest1a.css"
].
-
This sentence should be green thanks to the STYLE attribute [
STYLE="color: green;"
].
This sentence should be purple, and it doesn't have a terminating paragraph tag.
- This list should NOT be purple.
- It should, instead, be black.
- If it IS purple, then the browser hasn't correctly parsed the preceding paragraph.
This sentence should be underlined due to the linked style sheet linktest.css , the reference to which is shown above.
This sentence should NOT be underlined due to the linked style sheet linktest2.css , UNLESS the sheet "Link2" has been selected via the user agent.
-
This sentence should be green due to an imported style sheet [
@import url(imptest1.css); ].
-
This sentence should be dark green due to an imported style sheet [
@import "imptest1a.css" ].
-
This sentence should be green thanks to the STYLE attribute [
STYLE="color: green;" ].
This sentence should be purple, and it doesn't have a terminating paragraph tag.
- This list should NOT be purple.
- It should, instead, be black.
- If it IS purple, then the browser hasn't correctly parsed the preceding paragraph.
|
[Previous] [Next] [Section] [Contents] [Specification]