| 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.dumpAsText(true); | 9 testRunner.dumpAsText(true); |
| 10 if (window.internals) | 10 if (window.eventSender) |
| 11 window.internals.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 .box { | 16 .box { |
| 17 width: 100px; | 17 width: 100px; |
| 18 height: 100px; | 18 height: 100px; |
| 19 } | 19 } |
| 20 | 20 |
| 21 .positioned { | 21 .positioned { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 40 background-color: red; | 40 background-color: red; |
| 41 } | 41 } |
| 42 </style> | 42 </style> |
| 43 | 43 |
| 44 <div class="positioned test box"></div> | 44 <div class="positioned test box"></div> |
| 45 | 45 |
| 46 <div class="positioned clip box"> | 46 <div class="positioned clip box"> |
| 47 <div class="transformed indicator box"></div> | 47 <div class="transformed indicator box"></div> |
| 48 </div> | 48 </div> |
| 49 </html> | 49 </html> |
| OLD | NEW |