| <!DOCTYPE html> |
| <html> |
| <head> |
| <script src="resources/text-based-repaint.js"></script> |
| <script> |
| function repaintTest() |
| { |
| document.body.style.webkitOverflowScrolling = "touch"; |
| } |
| </script> |
| </head> |
| <body style="overflow: hidden; -webkit-overflow-scrolling: auto" onload="runRepaintTest()"> |
| <!-- This tests that we require a layout and repaint when the value of -webkit-overflow-scrolling changes. --> |
| <p>This test PASSED if you see repaint output (below).</p> |
| <!-- Note, we expect this test to fail on all ports that have not compiled with ACCELERATED_OVERFLOW_SCROLLING enabled. --> |
| |
| <div style="width: 2000px; height: 2000px;"></div> |
| </body> |
| </html> |