OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script src="../../resources/run-after-layout-and-paint.js"></script> | 3 <script src="../resources/run-after-layout-and-paint.js"></script> |
4 <style> | 4 <style> |
5 h1 { | 5 h1 { |
6 overflow: hidden; | 6 overflow: hidden; |
7 width: 792px; | 7 width: 792px; |
8 height: 160px; | 8 height: 160px; |
9 } | 9 } |
10 | 10 |
11 h1:before { | 11 h1:before { |
12 content: url("resources/red-at-12-oclock-with-color-profile.jpg"); | 12 content: url("resources/red-at-12-oclock-with-color-profile.jpg"); |
13 display: inline-block; | 13 display: inline-block; |
(...skipping 21 matching lines...) Expand all Loading... |
35 function done() { | 35 function done() { |
36 setTimeout(function() { testRunner.notifyDone() }, 0); | 36 setTimeout(function() { testRunner.notifyDone() }, 0); |
37 } | 37 } |
38 | 38 |
39 if (window.testRunner) { | 39 if (window.testRunner) { |
40 testRunner.dumpAsTextWithPixelResults(); | 40 testRunner.dumpAsTextWithPixelResults(); |
41 testRunner.waitUntilDone(); | 41 testRunner.waitUntilDone(); |
42 } | 42 } |
43 </script> | 43 </script> |
44 </html> | 44 </html> |
OLD | NEW |