| OLD | NEW |
| (Empty) |
| 1 <!-- Based on fast/repaint/border-radius-repaint-2.html --> | |
| 2 <!doctype html> | |
| 3 <html> | |
| 4 <head> | |
| 5 <title>Repaint test for crbug.com/222851</title> | |
| 6 <script src="resources/paint-invalidation-test.js" type="text/javascript"></scri
pt> | |
| 7 <script> | |
| 8 if (window.internals) { | |
| 9 // Avoid the noise caused by change of scrollbar existence. | |
| 10 internals.settings.setOverlayScrollbarsEnabled(true); | |
| 11 internals.settings.setMockScrollbarsEnabled(true); | |
| 12 } | |
| 13 | |
| 14 function paintInvalidationTest() { | |
| 15 document.getElementById('target').style.height = '2px'; | |
| 16 } | |
| 17 </script> | |
| 18 </head> | |
| 19 <body style="background-color: #3F3F3F;" onload="runPaintInvalidationTest()"> | |
| 20 <div style="border-radius: 150px; background-color: #EFEFEF; width: 90%; paddi
ng: 5em; margin: 0 auto;"> | |
| 21 <div style="border-radius: 5px; border: solid 3px #367CAF; width: 85%; m
argin: 0 auto;"> | |
| 22 <div class="notARealClass" style="background-color: #367CAF; height: 3
em; cursor: pointer;"> | |
| 23 </div> | |
| 24 <div id="target" style="width: 100%; height: 550px;"> | |
| 25 </div> | |
| 26 </div> | |
| 27 </div> | |
| 28 </body> | |
| 29 </html> | |
| OLD | NEW |