2 Calculating collapsed borders for big tables is expensive, so we cache them and recalculate when needed.
3 Here we change colgroup border width, 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 document
.getElementById("colgroup").style
.borderWidth
= "4px";
16 <body onload=
"runRepaintTest()">
17 <table style=
"border-collapse:collapse; border:1px solid blue">
18 <colgroup style=
"border:1px solid yellow" id=
"colgroup">
27 <td style=
"border:2px solid lime"/>