1 <!-- Based on fast/table/border-collapsing/cached-cell-remove.html -->
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 expected image.
9 <link rel=
"stylesheet" href=
"../../../fast/table/border-collapsing/resources/cached.css">
10 <script src=
"resources/paint-invalidation-test.js"></script>
11 <script type=
"text/javascript">
12 window
.expectedPaintInvalidationObjects
= [
13 "LayoutTableCell TD id='bar'",
19 "LayoutTableSection TBODY",
23 function paintInvalidationTest() {
24 barCell
= document
.getElementById("bar");
25 document
.getElementById("row").removeChild(barCell
);
29 <body onload=
"runPaintInvalidationTest()">
30 <table style=
"border-collapse:collapse; border:2px solid blue">
32 <td style=
"border:4px solid lime"/>
33 <td style=
"border-left:6px solid yellow" id=
"bar"/>