| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style type='text/css'> | 4 <style type='text/css'> |
| 5 #overflow { | 5 #overflow { |
| 6 overflow:auto; | 6 overflow:auto; |
| 7 width:200px; | 7 width:200px; |
| 8 height:200px; | 8 height:200px; |
| 9 -webkit-transform:translateZ(0); | 9 transform:translateZ(0); |
| 10 } | 10 } |
| 11 </style> | 11 </style> |
| 12 <script type='text/javascript'> | 12 <script type='text/javascript'> |
| 13 function doTest() { | 13 function doTest() { |
| 14 var canvas = document.createElement('canvas'); | 14 var canvas = document.createElement('canvas'); |
| 15 canvas.width = 1; | 15 canvas.width = 1; |
| 16 canvas.height = 400; | 16 canvas.height = 400; |
| 17 var content = document.getElementById("content"); | 17 var content = document.getElementById("content"); |
| 18 content.onload = function() { | 18 content.onload = function() { |
| 19 var overflow = document.getElementById("overflow"); | 19 var overflow = document.getElementById("overflow"); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 31 } | 31 } |
| 32 </script> | 32 </script> |
| 33 </head> | 33 </head> |
| 34 <body> | 34 <body> |
| 35 <!-- This test passes if a partially scrolled scrollbar appears --> | 35 <!-- This test passes if a partially scrolled scrollbar appears --> |
| 36 <div id="overflow"> | 36 <div id="overflow"> |
| 37 <img id="content"> | 37 <img id="content"> |
| 38 </div> | 38 </div> |
| 39 </body> | 39 </body> |
| 40 </html> | 40 </html> |
| OLD | NEW |