1 <!-- Based on fast/table/border-collapsing/cached-change-col-border-width.html -->
3 Calculating collapsed borders for big tables is expensive, so we cache them and recalculate when needed.
4 Here we change col border width, 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
= [
20 "LayoutTableCol COL id='col'",
21 "LayoutTableSection TBODY",
29 function paintInvalidationTest() {
30 document
.getElementById("col").style
.borderWidth
= "4px";
34 <body onload=
"runPaintInvalidationTest()">
35 <table style=
"border-collapse:collapse; border:1px solid blue">
37 <col style=
"border:1px solid yellow" id=
"col">
42 <td style=
"border:2px solid lime"/>