OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- No text in black, B and F should be blue. --> | 2 <!-- No text in black, B and F should be blue. --> |
3 <html> | 3 <html> |
4 <body style="font-family: ahem; font-size: 50px; -webkit-font-smoothing: none;"> | 4 <body style="font-family: ahem; font-size: 50px; -webkit-font-smoothing: none;"> |
5 <style> | 5 <style> |
6 .test1:before { | 6 .test1:before { |
7 display: table; | 7 display: table; |
8 content: "AB"; | 8 content: "AB"; |
9 } | 9 } |
10 .test2:after { | 10 .test2:after { |
11 display: table; | 11 display: table; |
12 content: "EF"; | 12 content: "EF"; |
13 } | 13 } |
14 .test1:first-letter { color: green; } | 14 .test1:first-letter { color: green; } |
15 .test2:first-letter { color: green; } | 15 .test2:first-letter { color: green; } |
16 </style> | 16 </style> |
17 <div class="test1">C</div> | 17 <div class="test1">C</div> |
18 <div class="test2">D</div> | 18 <div class="test2">D</div> |
19 <div class="test2"></div> | 19 <div class="test2"></div> |
20 <script> | 20 <script> |
21 document.body.offsetTop; | 21 document.body.offsetTop; |
22 document.body.style.color = "blue"; | 22 document.body.style.color = "blue"; |
23 </script> | 23 </script> |
24 </html> | 24 </html> |
OLD | NEW |