OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</title> | 3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</title> |
4 <style type="text/css"> | 4 <style type="text/css"> |
5 div.playground { position: relative; width: 90px; height: 90px; } | 5 div.playground { position: relative; width: 90px; height: 90px; } |
6 .red { background-color: yellow; } | 6 .red { background-color: yellow; } |
7 .blue { background-color: blue; } | 7 .blue { background-color: blue; } |
8 .green { background-color: green; } | 8 .green { background-color: green; } |
9 .zero { height: 0; width: 60px; } | 9 .zero { height: 0; width: 60px; } |
10 .half { height: 30px; width: 60px; } | 10 .half { height: 30px; width: 60px; } |
(...skipping 10 matching lines...) Expand all Loading... |
21 caption2.style.height = "30px"; | 21 caption2.style.height = "30px"; |
22 | 22 |
23 var top = document.getElementById("top"); | 23 var top = document.getElementById("top"); |
24 top.style.height = "0"; | 24 top.style.height = "0"; |
25 | 25 |
26 var top = document.getElementById("innerDiv"); | 26 var top = document.getElementById("innerDiv"); |
27 innerDiv.style.height = "15px"; | 27 innerDiv.style.height = "15px"; |
28 } | 28 } |
29 </script> | 29 </script> |
30 </head> | 30 </head> |
31 <body onload="runRepaintTest()"> | 31 <body onload="runRepaintAndPixelTest()"> |
32 <div class="playground"> | 32 <div class="playground"> |
33 <table cellpadding="0" cellspacing="0"> | 33 <table cellpadding="0" cellspacing="0"> |
34 <caption id="caption1" class="blue half"></caption> | 34 <caption id="caption1" class="blue half"></caption> |
35 <tbody> | 35 <tbody> |
36 <tr> | 36 <tr> |
37 <td class="red half"></td> | 37 <td class="red half"></td> |
38 </tr> | 38 </tr> |
39 <tr> | 39 <tr> |
40 <td class="green half"></td> | 40 <td class="green half"></td> |
41 </tr> | 41 </tr> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 <div id="innerDiv"></div> | 81 <div id="innerDiv"></div> |
82 </caption> | 82 </caption> |
83 <tbody> | 83 <tbody> |
84 <tr><td class="half"></td></tr> | 84 <tr><td class="half"></td></tr> |
85 <tr><td class="half" style="border-top: solid yellow 8px;"></td>
</tr> | 85 <tr><td class="half" style="border-top: solid yellow 8px;"></td>
</tr> |
86 </tbody> | 86 </tbody> |
87 </table> | 87 </table> |
88 </div> | 88 </div> |
89 </body> | 89 </body> |
90 </html> | 90 </html> |
OLD | NEW |