OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../../resources/js-test.js"></script> | 2 <script src="../../resources/js-test.js"></script> |
3 <table> | 3 <table> |
4 <tbody> | 4 <tbody> |
5 <tr><td> | 5 <tr><td> |
6 <div></div> | 6 <div></div> |
7 <div></div> | 7 <div></div> |
8 <div></div> | 8 <div></div> |
9 <div></div> | 9 <div></div> |
10 <div></div> | 10 <div></div> |
11 <div></div> | 11 <div></div> |
12 <div></div> | 12 <div></div> |
13 <div></div> | 13 <div></div> |
14 <div></div> | 14 <div></div> |
15 <div></div> | 15 <div></div> |
16 </td></tr> | 16 </td></tr> |
17 </tbody> | 17 </tbody> |
18 </table> | 18 </table> |
19 <script> | 19 <script> |
20 description("Check that we don't recalc table cell contents when presentation at
tributes change."); | 20 description("Check that we don't recalc table cell contents when presentation at
tributes change."); |
21 | 21 |
22 document.body.offsetTop; // Force layout. | 22 document.body.offsetTop; // Force layout. |
23 document.getElementsByTagName("table")[0].setAttribute("border", "2"); | 23 document.getElementsByTagName("table")[0].setAttribute("border", "2"); |
24 if (window.internals) | 24 if (window.internals) |
25 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "4"); | 25 shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "4
"); |
26 </script> | 26 </script> |
OLD | NEW |