OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org
/TR/REC-html40/loose.dtd"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org
/TR/REC-html40/loose.dtd"> |
2 <HTML> | 2 <HTML> |
3 <HEAD> | 3 <HEAD> |
4 <TITLE>CSS1 Test Suite: 2.3 first-line</TITLE> | 4 <TITLE>CSS1 Test Suite: 2.3 first-line</TITLE> |
5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
6 <META http-equiv="Content-Style-Type" content="text/css"> | 6 <META http-equiv="Content-Style-Type" content="text/css"> |
7 | 7 |
8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.cs
s"> | 8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.cs
s"> |
| 9 <SCRIPT src="../resources/base.js"></SCRIPT> |
9 <STYLE type="text/css"> | 10 <STYLE type="text/css"> |
10 P:first-line {color: green;} | 11 P:first-line {color: green;} |
11 .two:first-line {font-size: 200%;} | 12 .two:first-line {font-size: 200%;} |
12 .three:first-line {font-variant: small-caps;} | 13 .three:first-line {font-variant: small-caps;} |
13 </STYLE> | 14 </STYLE> |
14 | 15 |
15 </HEAD> | 16 </HEAD> |
16 | 17 |
17 <BODY><P>The style declarations which apply to the text below are:</P> | 18 <BODY><P>The style declarations which apply to the text below are:</P> |
18 <PRE>P:first-line {color: green;} | 19 <PRE>P:first-line {color: green;} |
(...skipping 23 matching lines...) Expand all Loading... |
42 The first line of this paragraph, and only that one, should be green. If this p
recise combination does not occur, then the user agent has failed this test. Re
member that in order to ensure a complete test, the paragraph must be displayed
on more than one line. | 43 The first line of this paragraph, and only that one, should be green. If this p
recise combination does not occur, then the user agent has failed this test. Re
member that in order to ensure a complete test, the paragraph must be displayed
on more than one line. |
43 </P> | 44 </P> |
44 <P class="two"> | 45 <P class="two"> |
45 The first line of this paragraph, and only that one, should be a larger font siz
e as well as green. If this precise combination does not occur, then the user a
gent has failed this test. Remember that in order to ensure a complete test, th
e paragraph must be displayed on more than one line. | 46 The first line of this paragraph, and only that one, should be a larger font siz
e as well as green. If this precise combination does not occur, then the user a
gent has failed this test. Remember that in order to ensure a complete test, th
e paragraph must be displayed on more than one line. |
46 </P> | 47 </P> |
47 <P class="three"> | 48 <P class="three"> |
48 The first line of this paragraph, and only that one, should be displayed in smal
l-caps style. Thus, if the first line is not in small-caps style, OR if the ent
ire paragraph turns out in small-caps, then the user agent has failed this test
(although the problem might be that <CODE>small-caps</CODE> is not supported by
your browser). This is extra text included for the purposes of making the parag
raph long enough to have more than one line. | 49 The first line of this paragraph, and only that one, should be displayed in smal
l-caps style. Thus, if the first line is not in small-caps style, OR if the ent
ire paragraph turns out in small-caps, then the user agent has failed this test
(although the problem might be that <CODE>small-caps</CODE> is not supported by
your browser). This is extra text included for the purposes of making the parag
raph long enough to have more than one line. |
49 </P> | 50 </P> |
50 </TD></TR></TABLE></BODY> | 51 </TD></TR></TABLE></BODY> |
51 </HTML> | 52 </HTML> |
OLD | NEW |