| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Composited overflow scrolling for RTL</title> | 4 <title>Composited overflow scrolling for RTL</title> |
| 5 <style> | 5 <style> |
| 6 .container { | 6 .container { |
| 7 width: 400px; | 7 width: 400px; |
| 8 height: 150px; | 8 height: 150px; |
| 9 overflow: scroll; | 9 overflow: scroll; |
| 10 } | 10 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 .left { | 27 .left { |
| 28 width: 100px; | 28 width: 100px; |
| 29 height: 100px; | 29 height: 100px; |
| 30 position: absolute; | 30 position: absolute; |
| 31 left: 0; | 31 left: 0; |
| 32 background-color: blue; | 32 background-color: blue; |
| 33 } | 33 } |
| 34 </style> | 34 </style> |
| 35 </head> | 35 </head> |
| 36 <body> | 36 <body> |
| 37 <div style="-webkit-transform:translateZ(0);"> | 37 <div style="transform:translateZ(0);"> |
| 38 This test succeeds if the two blocks correctly show content scrolled to the
rightmost and leftmost respectively. | 38 This test succeeds if the two blocks correctly show content scrolled to the
rightmost and leftmost respectively. |
| 39 </div> | 39 </div> |
| 40 <div class="container" id="first"> | 40 <div class="container" id="first"> |
| 41 <div class="overflow"> | 41 <div class="overflow"> |
| 42 <div class="left"></div> | 42 <div class="left"></div> |
| 43 <div class="right"></div> | 43 <div class="right"></div> |
| 44 </div> | 44 </div> |
| 45 </div> | 45 </div> |
| 46 <div class="container"> | 46 <div class="container"> |
| 47 <div class="overflow"> | 47 <div class="overflow"> |
| 48 <div class="left"></div> | 48 <div class="left"></div> |
| 49 <div class="right"></div> | 49 <div class="right"></div> |
| 50 </div> | 50 </div> |
| 51 </div> | 51 </div> |
| 52 <script> | 52 <script> |
| 53 document.getElementById('first').scrollLeft = 600; | 53 document.getElementById('first').scrollLeft = 600; |
| 54 </script> | 54 </script> |
| 55 </body> | 55 </body> |
| 56 </html> | 56 </html> |
| OLD | NEW |