OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 #t1::first-letter { color: white } | |
4 #t1::first-line { background: red } | |
5 #t1.green::first-line { background: green } | |
6 </style> | |
7 <div id="t1"> | |
8 First letter should be white, and the first line should have a green | |
9 background. | |
10 </div> | |
11 <script> | |
12 if (window.testRunner) | |
13 testRunner.waitUntilDone(); | |
14 | |
15 requestAnimationFrame(() => | |
16 requestAnimationFrame(() => { | |
17 t1.className = "green"; | |
18 if (window.testRunner) | |
19 testRunner.notifyDone(); | |
20 })); | |
meade_UTC10
2017/03/06 02:58:29
Nit: I think this should all be 2-indented...
rune
2017/03/06 09:51:18
Done.
| |
21 </script> | |
OLD | NEW |