OLD | NEW |
| (Empty) |
1 <!-- Based on fast/table/border-collapsing/cached-cell-remove.html --> | |
2 <!-- | |
3 Calculating collapsed borders for big tables is expensive, so we cache them and
recalculate when needed. | |
4 Here we remove cell, expect that cache is invalidated and paint produces expecte
d image. | |
5 --> | |
6 <html> | |
7 <head> | |
8 <title></title> | |
9 <link rel="stylesheet" href="../../../fast/table/border-collapsing/resou
rces/cached.css"> | |
10 <script src="resources/paint-invalidation-test.js"></script> | |
11 <script type="text/javascript"> | |
12 function paintInvalidationTest() { | |
13 barCell = document.getElementById("bar"); | |
14 document.getElementById("row").removeChild(barCell); | |
15 } | |
16 </script> | |
17 </head> | |
18 <body onload="runPaintInvalidationTest()"> | |
19 <table style="border-collapse:collapse; border:2px solid blue"> | |
20 <tr id="row"> | |
21 <td style="border:4px solid lime"/> | |
22 <td style="border-left:6px solid yellow" id="bar"/> | |
23 <td/> | |
24 </tr> | |
25 </table> | |
26 </body> | |
27 </html> | |
28 | |
OLD | NEW |