| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| html { | |
| transform: translateZ(0); | |
| } | |
| body { | |
| height: 2000px; | |
| background-image: url('resources/simple_image.png'); | |
| background-size: 200px 200px; | |
| background-attachment: fixed; | |
| overflow: hidden; /* hide scrollbar */ | |
| } | |
| </style> | |
| <script> | |
| if (window.testRunner) { | |
| testRunner.waitUntilDone(); | |
| internals.settings.setPreferCompositingToLCDTextEnabled(true); | |
| } | |
| function doTest() | |
| { | |
| window.scrollTo(0, 223); | |
| if (window.testRunner) | |
| testRunner.notifyDone(); | |
| } | |
| window.addEventListener('load', doTest, false); | |
| </script> | |
| </head> | |
| <body> | |
| </body> | |
| </html> |