OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Layers inside overflow-scroll</title> | 4 <title>Layers inside overflow-scroll</title> |
5 | 5 |
6 <style type="text/css" media="screen"> | 6 <style type="text/css" media="screen"> |
7 | 7 |
8 #container { | 8 #container { |
9 width: 300px; | 9 width: 300px; |
10 margin: 10px; | 10 margin: 10px; |
(...skipping 12 matching lines...) Expand all Loading... |
23 width: 100%; | 23 width: 100%; |
24 height: 500px; | 24 height: 500px; |
25 font-size: 24pt; | 25 font-size: 24pt; |
26 line-height: 150%; | 26 line-height: 150%; |
27 } | 27 } |
28 | 28 |
29 .compositing { | 29 .compositing { |
30 height: 100px; | 30 height: 100px; |
31 width: 100px; | 31 width: 100px; |
32 background-color: red; | 32 background-color: red; |
33 -webkit-transform: translateZ(0); | 33 transform: translateZ(0); |
34 } | 34 } |
35 </style> | 35 </style> |
36 <script src="resources/media-testing.js"></script> | 36 <script src="resources/media-testing.js"></script> |
37 <script src="../media/media-file.js"></script> | 37 <script src="../media/media-file.js"></script> |
38 | 38 |
39 <script type="text/javascript" charset="utf-8"> | 39 <script type="text/javascript" charset="utf-8"> |
40 function testDone() | 40 function testDone() |
41 { | 41 { |
42 document.getElementById('details').scrollTop = 100; | 42 document.getElementById('details').scrollTop = 100; |
43 if (window.testRunner) | 43 if (window.testRunner) |
(...skipping 14 matching lines...) Expand all Loading... |
58 </div> | 58 </div> |
59 | 59 |
60 <div id="details"> | 60 <div id="details"> |
61 <div> | 61 <div> |
62 <div class="compositing"></div> | 62 <div class="compositing"></div> |
63 </div> | 63 </div> |
64 </div> | 64 </div> |
65 | 65 |
66 </body> | 66 </body> |
67 </html> | 67 </html> |
OLD | NEW |