OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <!-- This checks the overlap test between render layers inside clipped | 3 <!-- This checks the overlap test between render layers inside clipped |
4 containers and other render layers when page scaling is used. See | 4 containers and other render layers when page scaling is used. See |
5 https://bugs.webkit.org/show_bug.cgi?id=76850 --> | 5 https://bugs.webkit.org/show_bug.cgi?id=76850 --> |
6 <script> | 6 <script> |
7 window.onload = function() { | 7 window.onload = function() { |
8 if (window.testRunner) | 8 if (window.testRunner) |
9 testRunner.dumpAsTextWithPixelResults(); | 9 testRunner.dumpAsTextWithPixelResults(); |
10 if (window.eventSender) | 10 if (window.eventSender) |
11 window.eventSender.setPageScaleFactor(0.5, 0, 0); | 11 window.eventSender.setPageScaleFactor(0.5, 0, 0); |
12 } | 12 } |
13 </script> | 13 </script> |
14 | 14 |
15 <style type="text/css"> | 15 <style type="text/css"> |
| 16 ::-webkit-scrollbar { |
| 17 width: 0px; |
| 18 height: 0px; |
| 19 } |
| 20 body { |
| 21 width: 4000px; |
| 22 height: 4000px; |
| 23 } |
16 .box { | 24 .box { |
17 width: 100px; | 25 width: 100px; |
18 height: 100px; | 26 height: 100px; |
19 } | 27 } |
20 | 28 |
21 .positioned { | 29 .positioned { |
22 position: absolute; | 30 position: absolute; |
23 left: 400px; | 31 left: 400px; |
24 } | 32 } |
25 | 33 |
(...skipping 14 matching lines...) Expand all Loading... |
40 background-color: red; | 48 background-color: red; |
41 } | 49 } |
42 </style> | 50 </style> |
43 | 51 |
44 <div class="positioned test box"></div> | 52 <div class="positioned test box"></div> |
45 | 53 |
46 <div class="positioned clip box"> | 54 <div class="positioned clip box"> |
47 <div class="transformed indicator box"></div> | 55 <div class="transformed indicator box"></div> |
48 </div> | 56 </div> |
49 </html> | 57 </html> |
OLD | NEW |