OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style type="text/css"> | 4 <style type="text/css"> |
5 div:first-letter | 5 div:first-letter |
6 { | 6 { |
7 color: green; | 7 color: green; |
8 font-size: 36px; | 8 font-size: 36px; |
9 } | 9 } |
10 </style> | 10 </style> |
11 </head> | 11 </head> |
12 <body> | 12 <body> |
13 <p>Test passes if all the T and surrounding punctuation are green.</p> | 13 <p>Test passes if all the T are green, as well as punctuation elements w
hen they are adjacent to a letter (without spaces)</p> |
| 14 |
| 15 <div>Test</div> |
| 16 <div> Test </div> |
| 17 |
14 <div>(T)est</div> | 18 <div>(T)est</div> |
| 19 <div> (T)est</div> |
15 <div>“T”est</div> | 20 <div>“T”est</div> |
16 <div>« T »est</div> | 21 |
17 <div>« T » est</div> | 22 <div>&Test</div> |
| 23 <div> &Test</div> |
| 24 <div>T&S<div> |
| 25 <div>T & S<div> |
| 26 <div>T & S<div> |
| 27 |
| 28 <div>« S »</div> |
| 29 <div>« S » </div> |
| 30 |
| 31 <div>• </div> |
| 32 <div> • </div> |
18 </body> | 33 </body> |
19 </html> | 34 </html> |
OLD | NEW |