OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 html { | 5 html { |
6 background-color: green; | 6 background-color: green; |
7 } | 7 } |
8 body { | 8 body { |
9 background-color: #0F0; | 9 background-color: #0F0; |
10 height: 100px; | 10 height: 100px; |
11 } | 11 } |
12 p { | 12 p { |
13 color: #0F0; /* Hide from pixel result */ | 13 color: #0F0; /* Hide from pixel result */ |
14 } | 14 } |
15 </style> | 15 </style> |
16 <script> | 16 <script> |
17 if (window.testRunner) | 17 if (window.testRunner) |
18 testRunner.dumpAsText(true); | 18 testRunner.dumpAsTextWithPixelResults(); |
19 </script> | 19 </script> |
20 </head> | 20 </head> |
21 <body> | 21 <body> |
22 <p>Should see a 100px tall light green rect on a field of green.</p> | 22 <p>Should see a 100px tall light green rect on a field of green.</p> |
23 </body> | 23 </body> |
24 </html> | 24 </html> |
OLD | NEW |