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