| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../../resources/run-after-display.js"></script> | 3 <script src="../../../resources/run-after-display.js"></script> |
| 4 <style> | 4 <style> |
| 5 body { | 5 body { |
| 6 height: 5000px; | 6 height: 5000px; |
| 7 background-color: red; | 7 background-color: red; |
| 8 overflow: hidden; | 8 overflow: hidden; |
| 9 } | 9 } |
| 10 | 10 |
| 11 #trigger { | 11 #trigger { |
| 12 -webkit-transform:translateZ(0); | 12 transform:translateZ(0); |
| 13 } | 13 } |
| 14 | 14 |
| 15 #overlap { | 15 #overlap { |
| 16 width: 1000px; | 16 width: 1000px; |
| 17 height: 1000px; | 17 height: 1000px; |
| 18 background-color: green; | 18 background-color: green; |
| 19 position: fixed; | 19 position: fixed; |
| 20 left: 0px; | 20 left: 0px; |
| 21 top: 0px; | 21 top: 0px; |
| 22 } | 22 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 35 testRunner.notifyDone(); | 35 testRunner.notifyDone(); |
| 36 }); | 36 }); |
| 37 } | 37 } |
| 38 window.addEventListener("load", doTest, false); | 38 window.addEventListener("load", doTest, false); |
| 39 </script> | 39 </script> |
| 40 <body> | 40 <body> |
| 41 <div id="trigger"></div> | 41 <div id="trigger"></div> |
| 42 <div id="overlap"></div> | 42 <div id="overlap"></div> |
| 43 </body> | 43 </body> |
| 44 </html> | 44 </html> |
| OLD | NEW |