OLD | NEW |
| (Empty) |
1 <!-- Based on fast/repaint/table-extra-bottom-grow.html --> | |
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
3 "http://www.w3.org/TR/html4/strict.dtd"> | |
4 <html lang="en"> | |
5 <head> | |
6 <script src="resources/paint-invalidation-test.js"></script> | |
7 <script> | |
8 function paintInvalidationTest() | |
9 { | |
10 document.getElementById("t").style.height='100px'; | |
11 } | |
12 </script> | |
13 </head> | |
14 <body onload="runPaintInvalidationTest();"> | |
15 <p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6769">Bugzill
a bug 6769</a> REGRESSION: Incomplete repaint when a cell's extra bottom margin
grows</p> | |
16 | |
17 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</
b> | |
18 There should be only a green square below, and no red. | |
19 </p> | |
20 | |
21 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
| |
22 The lower-right quarter of the square will be red. | |
23 </p> | |
24 | |
25 <table style="background: green;" cellspacing="0" cellpadding="0"> | |
26 <tr> | |
27 <td style="height: 100px; width: 50px;" rowspan="2"> | |
28 </td> | |
29 <td style="width: 50px; vertical-align: top; background: green; height:
50px;" id="t"> | |
30 </td> | |
31 </tr> | |
32 <tr> | |
33 <td style="background: red;"></td> | |
34 </tr> | |
35 </table> | |
36 | |
37 </body> | |
38 </html> | |
39 | |
OLD | NEW |