OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html lang="en"> | 2 <html lang="en"> |
3 <head> | 3 <head> |
4 <script src="../../resources/run-after-display.js"></script> | |
5 <style> | 4 <style> |
6 #back { | 5 #back { |
7 width: 1000px; | 6 width: 1000px; |
8 height: 600px; | 7 height: 600px; |
9 background-color: green; | 8 background-color: green; |
10 } | 9 } |
11 #front { | 10 #front { |
12 width: 800px; | 11 width: 800px; |
13 height: 400px; | 12 height: 400px; |
14 background-color: red; | 13 background-color: red; |
(...skipping 25 matching lines...) Expand all Loading... |
40 "-webkit-mask-origin: content-box;" + | 39 "-webkit-mask-origin: content-box;" + |
41 "-webkit-mask-clip: content-box;"; | 40 "-webkit-mask-clip: content-box;"; |
42 } | 41 } |
43 </script> | 42 </script> |
44 </head> | 43 </head> |
45 | 44 |
46 <body onload="addMasks()"> | 45 <body onload="addMasks()"> |
47 <div id="back"> | 46 <div id="back"> |
48 <div id="front" /> | 47 <div id="front" /> |
49 </div> | 48 </div> |
50 <script> | |
51 if (window.testRunner) | |
52 testRunner.waitUntilDone(); | |
53 | |
54 runAfterDisplay(function() { | |
55 if (window.testRunner) | |
56 testRunner.notifyDone(); | |
57 }); | |
58 </script> | |
59 </body> | 49 </body> |
60 </html> | 50 </html> |
61 | 51 |
OLD | NEW |