| OLD | NEW |
| (Empty) |
| 1 <!-- Based on fast/repaint/outline-child-repaint.html --> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> | |
| 5 <script type="text/javascript"> | |
| 6 function paintInvalidationTest() | |
| 7 { | |
| 8 var container = document.getElementById('container'); | |
| 9 container.style.top = "250px"; | |
| 10 } | |
| 11 </script> | |
| 12 <style type="text/css" media="screen"> | |
| 13 #container { | |
| 14 position: absolute; | |
| 15 left: 10px; | |
| 16 top: 150px; | |
| 17 width: 200px; | |
| 18 height: 50px; | |
| 19 } | |
| 20 .outlined { | |
| 21 outline: 10px solid green; | |
| 22 height: 30px; | |
| 23 background-color: #DDD; | |
| 24 } | |
| 25 | |
| 26 #underlay { | |
| 27 position: absolute; | |
| 28 top: 240px; | |
| 29 left: 0px; | |
| 30 width: 200px; | |
| 31 height: 30px; | |
| 32 border: 10px solid red; | |
| 33 } | |
| 34 </style> | |
| 35 </head> | |
| 36 <body onload="runPaintInvalidationTest();"> | |
| 37 <p> | |
| 38 This is a repaint test for <i><a href="https://bugs.webkit.org/show_bug.
cgi?id=22159">https://bugs.webkit.org/show_bug.cgi?id=22159</a> | |
| 39 Repaint issue with outlines in child objects</i>. | |
| 40 </p> | |
| 41 <p>If the test passes, you should not see any red below</p> | |
| 42 <hr> | |
| 43 | |
| 44 <div id="underlay"> | |
| 45 </div> | |
| 46 <div id="container"> | |
| 47 <div class="outlined"> | |
| 48 </div> | |
| 49 </div> | |
| 50 </body> | |
| 51 </html> | |
| OLD | NEW |