2 Calculating collapsed borders for big tables is expensive, so we cache them and recalculate when needed.
3 Here we remove cell, expect that cache is invalidated and paint produces expected image.
8 <link rel=
"stylesheet" href=
"resources/cached.css">
9 <script src=
"../../../fast/repaint/resources/text-based-repaint.js"></script>
10 <script type=
"text/javascript">
11 function repaintTest() {
12 barCell
= document
.getElementById("bar");
13 document
.getElementById("row").removeChild(barCell
);
17 <body onload=
"runRepaintTest()">
18 <table style=
"border-collapse:collapse; border:2px solid blue">
20 <td style=
"border:4px solid lime"/>
21 <td style=
"border-left:6px solid yellow" id=
"bar"/>