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 span { | |
9 counter-increment: spans 2; | |
10 } | |
11 #region { | |
12 counter-reset: spans 0; | |
13 } | |
14 span::before { | |
15 display: inline-block; | |
16 content: counter(spans) "."; | |
17 width: 2em; | |
18 margin: 0 .5em; | |
19 background: red; | |
20 color: white; | |
21 text-align: center; | |
22 } | |
23 | |
24 #region { | |
25 background-color: lightblue; | |
26 } | |
27 </style> | |
28 </head> | |
29 <body> | |
30 <p>Test passes if you see a light blue rectangle below, with three block
s of black text on a single line. Each block of text should be numbered with eve
n numbers (2, 4, 6); the numbers should be white on a red background.</p> | |
31 <div id="region"> | |
32 <span>A bit of text 2</span><span>A bit of text 4</span><span>A bit
of text 6</span> | |
33 </div> | |
34 </body> | |
35 </html> | |
OLD | NEW |