20 <script src=
"../../resources/js-test.js"></script>
23 <div style=
"height: 300px">
24 <table border=
"1" style=
"height: 100%">
30 <td class=
"filler" ></td>
31 <td class=
"filler" ></td>
36 var smallRows
= false;
38 function toggleSmallRows()
40 var table
= document
.querySelector("table")
41 smallRows
= !smallRows
;
43 table
.classList
.add("small");
45 table
.classList
.remove("small");
48 description("Regression(99212): table rows get incorrect height after changing some cells' height<br>https://bugs.webkit.org/show_bug.cgi?id=74303");
50 firstRow
= document
.getElementById("firstRow");
52 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'44px'");
55 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'24px'");
57 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'44px'");