OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../../resources/run-after-display.js"></script> | 2 <script src="../../resources/run-after-display.js"></script> |
3 <!-- Tests that overflow controls are repainted after compositing is disabled. T
here should be three green squares and no visible overflow controls --> | 3 <!-- Tests that overflow controls are repainted after compositing is disabled. T
here should be three green squares and no visible overflow controls --> |
4 <style> | 4 <style> |
5 .composited { | 5 .composited { |
6 -webkit-transform:translateZ(0); | 6 transform:translateZ(0); |
7 } | 7 } |
8 | 8 |
9 .container { | 9 .container { |
10 width: 100px; | 10 width: 100px; |
11 height:100px; | 11 height:100px; |
12 position:absolute; | 12 position:absolute; |
13 background-color: green; | 13 background-color: green; |
14 overflow:auto; | 14 overflow:auto; |
15 border: 0px; | 15 border: 0px; |
16 } | 16 } |
(...skipping 19 matching lines...) Expand all Loading... |
36 document.getElementById("horizontal").contentDocument.body.classList.add("wi
de"); // middle iframe starts with a horizontal scrollbar | 36 document.getElementById("horizontal").contentDocument.body.classList.add("wi
de"); // middle iframe starts with a horizontal scrollbar |
37 document.getElementById("both").contentDocument.body.classList.add("wide");
// bottom iframe starts with both | 37 document.getElementById("both").contentDocument.body.classList.add("wide");
// bottom iframe starts with both |
38 document.getElementById("both").contentDocument.body.classList.add("tall");
// vertical and horizontal scrollbars | 38 document.getElementById("both").contentDocument.body.classList.add("tall");
// vertical and horizontal scrollbars |
39 if (window.testRunner) { | 39 if (window.testRunner) { |
40 testRunner.dumpAsTextWithPixelResults(); | 40 testRunner.dumpAsTextWithPixelResults(); |
41 testRunner.waitUntilDone(); | 41 testRunner.waitUntilDone(); |
42 } | 42 } |
43 runAfterDisplay(finishTest); | 43 runAfterDisplay(finishTest); |
44 } | 44 } |
45 </script> | 45 </script> |
OLD | NEW |