| <!DOCTYPE html> |
| <html> |
| <head> |
| <style> |
| .fixed-no-z-index { |
| position: absolute; |
| left: 10px; |
| } |
| .fixed-with-z-index { |
| position: fixed; |
| z-index: 1; |
| left: 10px; |
| will-change:transform; |
| } |
| </style> |
| <script> |
| if (window.internals && window.eventSender) { |
| internals.settings.setPreferCompositingToLCDTextEnabled(true); |
| internals.setPageScaleFactor(2); |
| } |
| function test() { |
| window.scrollTo(100,100); |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| } |
| </script> |
| </head> |
| <body onload="test();" style="width:2000px;height:2000px;"> |
| <div class="fixed-no-z-index">This test should not hit an assertion in LayoutGeometryMap in debug builds</div><br> |
| <div class="fixed-with-z-index">This test should not hit an assertion in LayoutGeometryMap in debug builds</div> |
| </body> |
| </html> |