1 <!-- Based on fast/table/border-collapsing/cached-change-row-border-width.html -->
3 Calculating collapsed borders for big tables is expensive, so we cache them and recalculate when needed.
4 Here we change row 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
= [
17 "LayoutTableSection TBODY",
18 "LayoutTableRow TR id='row'",
23 function paintInvalidationTest() {
24 document
.getElementById("row").style
.borderWidth
= "4px";
28 <body onload=
"runPaintInvalidationTest()">
29 <table style=
"border-collapse:collapse; border:1px solid blue">
30 <tr style=
"border:1px solid yellow" id=
"row">
31 <td style=
"border:2px solid lime"/>