| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 .border-radius { | 5 .border-radius { |
| 6 border-radius: 50px; | 6 border-radius: 50px; |
| 7 overflow: scroll; | 7 overflow: scroll; |
| 8 } | 8 } |
| 9 | 9 |
| 10 .outer { | 10 .outer { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 } | 26 } |
| 27 | 27 |
| 28 .bottom { | 28 .bottom { |
| 29 position: relative; | 29 position: relative; |
| 30 top: 250px; | 30 top: 250px; |
| 31 } | 31 } |
| 32 </style> | 32 </style> |
| 33 | 33 |
| 34 <script> | 34 <script> |
| 35 if (window.internals) | 35 if (window.internals) |
| 36 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(
true); | 36 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); |
| 37 </script> | 37 </script> |
| 38 </head> | 38 </head> |
| 39 | 39 |
| 40 <body> | 40 <body> |
| 41 This tests that border-radius is applied with composited scrolling. If the top-l
eft corner is rounded | 41 This tests that border-radius is applied with composited scrolling. If the top-l
eft corner is rounded |
| 42 and nothing paints outside of the rounded-corner clip, this test passes. | 42 and nothing paints outside of the rounded-corner clip, this test passes. |
| 43 | 43 |
| 44 <div class="border-radius outer" id="outer"> | 44 <div class="border-radius outer" id="outer"> |
| 45 <div class="spacer"></div> | 45 <div class="spacer"></div> |
| 46 <div class="border-radius inner"> | 46 <div class="border-radius inner"> |
| 47 <div class="spacer bottom"></div> | 47 <div class="spacer bottom"></div> |
| 48 </div> | 48 </div> |
| 49 <div class="spacer"></div> | 49 <div class="spacer"></div> |
| 50 </div> | 50 </div> |
| 51 </body> | 51 </body> |
| 52 </html> | 52 </html> |
| OLD | NEW |