OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> | 3 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> |
4 <script type="text/javascript"> | 4 <script type="text/javascript"> |
5 function repaintTest() | 5 function repaintTest() |
6 { | 6 { |
7 var container = document.getElementById('container'); | 7 var container = document.getElementById('container'); |
8 container.style.top = "250px"; | 8 container.style.top = "250px"; |
9 } | 9 } |
10 </script> | 10 </script> |
(...skipping 14 matching lines...) Expand all Loading... |
25 #underlay { | 25 #underlay { |
26 position: absolute; | 26 position: absolute; |
27 top: 240px; | 27 top: 240px; |
28 left: 0px; | 28 left: 0px; |
29 width: 200px; | 29 width: 200px; |
30 height: 30px; | 30 height: 30px; |
31 border: 10px solid red; | 31 border: 10px solid red; |
32 } | 32 } |
33 </style> | 33 </style> |
34 </head> | 34 </head> |
35 <body onload="runRepaintTest();"> | 35 <body onload="runRepaintAndPixelTest();"> |
36 <p> | 36 <p> |
37 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> | 37 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> |
38 Repaint issue with outlines in child objects</i>. | 38 Repaint issue with outlines in child objects</i>. |
39 </p> | 39 </p> |
40 <p>If the test passes, you should not see any red below</p> | 40 <p>If the test passes, you should not see any red below</p> |
41 <hr> | 41 <hr> |
42 | 42 |
43 <div id="underlay"> | 43 <div id="underlay"> |
44 </div> | 44 </div> |
45 <div id="container"> | 45 <div id="container"> |
46 <div class="outlined"> | 46 <div class="outlined"> |
47 </div> | 47 </div> |
48 </div> | 48 </div> |
49 </body> | 49 </body> |
50 </html> | 50 </html> |
OLD | NEW |