OLD | NEW |
(Empty) | |
| 1 <!-- |
| 2 Calculating collapsed borders for big tables is expensive, so we cache them and
recalculate when needed. |
| 3 Here we change cell border width, expect that cache is invalidated and paint pro
duces expected image. |
| 4 --> |
| 5 <html> |
| 6 <head> |
| 7 <title></title> |
| 8 <link rel="stylesheet" href="../../../fast/table/border-collapsing/resou
rces/cached.css"> |
| 9 <script src="../resources/text-based-repaint.js"></script> |
| 10 <script type="text/javascript"> |
| 11 function repaintTest() { |
| 12 document.getElementById("foo").style.borderWidth = "4px"; |
| 13 } |
| 14 </script> |
| 15 </head> |
| 16 <body onload="runRepaintAndPixelTest()"> |
| 17 <table style="border-collapse:collapse; border:2px solid blue"> |
| 18 <tr> |
| 19 <td style="border:1px solid lime" id="foo"/> |
| 20 <td style="border:1px solid black"/> |
| 21 </tr> |
| 22 </table> |
| 23 </body> |
| 24 </html> |
| 25 |
OLD | NEW |