OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <title>CSS Reftest Reference</title> | |
5 <link rel="author" title="Mihai Balan" href="mibalan@adobe.com"> | |
6 <link rel="stylesheet" type="text/css" href="../resources/font-smoothing
-disabler.css"> | |
7 <style> | |
8 #region { | |
9 counter-reset: c 0; | |
10 } | |
11 #region p, | |
12 #region div { | |
13 counter-increment: c; | |
14 margin: 1em 0; | |
15 } | |
16 #region p::before, | |
17 #region div::before { | |
18 content: "(" counter(c) ") "; | |
19 background: darkblue; | |
20 color: white; | |
21 } | |
22 #region { | |
23 background-color: lightblue; | |
24 border: 1px solid lightblue; | |
25 } | |
26 </style> | |
27 </head> | |
28 <body> | |
29 <p>Test passes if you see a light blue rectangle below, with eight lines
of text in it. The text on each line should be black and preceded by the line n
umber between parantheses. The line numbers should be white on a dark blue backg
round.</p> | |
30 <div id="region"> | |
31 <p>This is numbered line of text no. 1</p> | |
32 <p>This is numbered line of text no. 2</p> | |
33 <div>This is numbered line of text no. 3</div> | |
34 <p>This is numbered line of text no. 4</p> | |
35 <div>This is numbered line of text no. 5</div> | |
36 <p>This is numbered line of text no. 6</p> | |
37 <div>This is numbered line of text no. 7</div> | |
38 <div>This is numbered line of text no. 8</div> | |
39 </div> | |
40 </body> | |
41 </html> | |
OLD | NEW |