| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <script> |
| 5 window.enablePixelTesting = true; |
| 6 function finishTest() { |
| 7 setTimeout(function() {testRunner.notifyDone();}, 0); |
| 8 } |
| 9 function scaleUp() { |
| 10 if (testRunner) { |
| 11 testRunner.setBackingScaleFactor(3, finishTest); |
| 12 } |
| 13 } |
| 14 function startTest() { |
| 15 testRunner.waitUntilDone(); |
| 16 setTimeout(scaleUp, 0); |
| 17 } |
| 18 |
| 19 window.addEventListener("load", startTest, false); |
| 20 </script> |
| 21 </head> |
| 22 <body> |
| 23 <div id="div" style="width:200px; height:120px; overflow:auto"> |
| 24 <br>This should be a scrollable text box with horizontal and vertical scroll. |
| 25 <div style="width:400px; height: 200px; background-color:red"></div> |
| 26 </div> |
| 27 </body> |
| 28 </html> |
| OLD | NEW |