OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html lang="en"> | 3 <html lang="en"> |
4 <head> | 4 <head> |
5 <style> | 5 <style> |
6 .box { | 6 .box { |
7 position: absolute; | 7 position: absolute; |
8 height: 50px; | 8 height: 50px; |
9 width: 100px; | 9 width: 100px; |
10 left: 20px; | 10 left: 20px; |
11 background-color: black; | 11 background-color: black; |
12 outline: 4px solid gray; | 12 outline: 4px solid gray; |
13 -webkit-filter: invert(); | 13 -webkit-filter: invert(); |
14 } | 14 } |
15 | 15 |
16 </style> | 16 </style> |
17 <script> | 17 <script> |
18 if (window.testRunner) | 18 if (window.testRunner) |
19 window.testRunner.dumpAsText(true); | 19 window.testRunner.dumpAsTextWithPixelResults(); |
20 </script> | 20 </script> |
21 </head> | 21 </head> |
22 <body> | 22 <body> |
23 | 23 |
24 <!-- You should see an outlined white rectangle with a black one beneath it. -
-> | 24 <!-- You should see an outlined white rectangle with a black one beneath it. -
-> |
25 <div class="box"> | 25 <div class="box"> |
26 <div class="box" style="top: 60px; left: 0"></div> | 26 <div class="box" style="top: 60px; left: 0"></div> |
27 </div> | 27 </div> |
28 | 28 |
29 </body> | 29 </body> |
30 </html> | 30 </html> |
OLD | NEW |