| <script src="../../resources/js-test-pre.js"></script> |
| <div style="height: 300px"> |
| <table border="1" style="height: 100%"> |
| <td class="filler" ></td> |
| <td class="filler" ></td> |
| function toggleSmallRows() |
| var table = document.querySelector("table") |
| table.classList.add("small"); |
| table.classList.remove("small"); |
| description("Regression(99212): table rows get incorrect height after changing some cells' height<br>https://bugs.webkit.org/show_bug.cgi?id=74303"); |
| firstRow = document.getElementById("firstRow"); |
| shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'44px'"); |
| shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'24px'"); |
| shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'44px'"); |
| <script src="../../resources/js-test-post.js"></script> |