| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- there should be four green squares and no visible red --> | 2 <!-- there should be four green squares and no visible red --> |
| 3 <script src="../../resources/run-after-display.js"></script> | 3 <script src="../../resources/run-after-display.js"></script> |
| 4 <style> | 4 <style> |
| 5 .container { | 5 .container { |
| 6 width: 100px; | 6 width: 100px; |
| 7 height:100px; | 7 height:100px; |
| 8 background-color: green; | 8 background-color: green; |
| 9 position:absolute; | 9 position:absolute; |
| 10 -webkit-transform:translateZ(0); | 10 transform:translateZ(0); |
| 11 overflow:auto; | 11 overflow:auto; |
| 12 } | 12 } |
| 13 | 13 |
| 14 ::-webkit-scrollbar { | 14 ::-webkit-scrollbar { |
| 15 background-color: red; | 15 background-color: red; |
| 16 } | 16 } |
| 17 | 17 |
| 18 ::-webkit-resizer { | 18 ::-webkit-resizer { |
| 19 background-color: red; | 19 background-color: red; |
| 20 } | 20 } |
| 21 | 21 |
| 22 .content { | 22 .content { |
| 23 -webkit-transform: translateZ(0); | 23 transform: translateZ(0); |
| 24 position:absolute; | 24 position:absolute; |
| 25 width:10px; | 25 width:10px; |
| 26 height:10px; | 26 height:10px; |
| 27 } | 27 } |
| 28 | 28 |
| 29 .tall { | 29 .tall { |
| 30 height:200px; | 30 height:200px; |
| 31 } | 31 } |
| 32 | 32 |
| 33 .wide { | 33 .wide { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 62 testRunner.notifyDone(); | 62 testRunner.notifyDone(); |
| 63 } | 63 } |
| 64 | 64 |
| 65 if (window.testRunner) { | 65 if (window.testRunner) { |
| 66 testRunner.dumpAsTextWithPixelResults(); | 66 testRunner.dumpAsTextWithPixelResults(); |
| 67 testRunner.waitUntilDone(); | 67 testRunner.waitUntilDone(); |
| 68 } | 68 } |
| 69 | 69 |
| 70 runAfterDisplay(finishTest); | 70 runAfterDisplay(finishTest); |
| 71 </script> | 71 </script> |
| OLD | NEW |