| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Calculating collapsed borders for big tables is expensive, so we cache them and
recalculate when needed. | 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. | 3 Here we change colgroup border width, expect that cache is invalidated and paint
produces expected image. |
| 4 --> | 4 --> |
| 5 <html> | 5 <html> |
| 6 <head> | 6 <head> |
| 7 <title></title> | 7 <title></title> |
| 8 <link rel="stylesheet" href="../../../fast/table/border-collapsing/resou
rces/cached.css"> | 8 <link rel="stylesheet" href="resources/cached.css"> |
| 9 </head> | 9 </head> |
| 10 <body> | 10 <body> |
| 11 <table style="border-collapse:collapse; border:1px solid blue"> | 11 <table style="border-collapse:collapse; border:1px solid blue"> |
| 12 <colgroup style="border:4px solid yellow" id="colgroup"> | 12 <colgroup style="border:4px solid yellow" id="colgroup"> |
| 13 <col> | 13 <col> |
| 14 <col> | 14 <col> |
| 15 </colgroup> | 15 </colgroup> |
| 16 <colgroup> | 16 <colgroup> |
| 17 <col> | 17 <col> |
| 18 </colgroup> | 18 </colgroup> |
| 19 <tbody> | 19 <tbody> |
| 20 <tr> | 20 <tr> |
| 21 <td style="border:2px solid lime"/> | 21 <td style="border:2px solid lime"/> |
| 22 <td/> | 22 <td/> |
| 23 <td/> | 23 <td/> |
| 24 </tr> | 24 </tr> |
| 25 <tr> | 25 <tr> |
| 26 <td/> | 26 <td/> |
| 27 <td/> | 27 <td/> |
| 28 <td/> | 28 <td/> |
| 29 </tr> | 29 </tr> |
| 30 </tbody> | 30 </tbody> |
| 31 </table> | 31 </table> |
| 32 </body> | 32 </body> |
| 33 </html> | 33 </html> |
| 34 | 34 |
| OLD | NEW |