Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / padding-height-and-override-height.html
blob1e9c2ae75f05993dd4d61873d34616733d21b8f1
1 <table style="width:100px; height: 100px; border: 1px solid;" cellspacing=0 cellpadding=0>
2 <tr>
3 <td style="padding:10px 5px"><img id='cell-contents' style="width: 100%; height: 100%; border:5px solid blue"></td>
4 </tr>
5 </table>
6 <script src="../../resources/js-test.js"></script>
7 <script>
8 shouldBe("document.getElementById('cell-contents').offsetHeight", "78");
9 // FIXME: We currently get 98 for this value. It appears we don't take left/right padding
10 // into account for the widths of the contents of table cells.
11 // We do still offset the contents by the padding, so they end up overflowing the table cell.
12 // Firefox 12 has the same crazy behavior. Is this a bug or are tables just crazy?
13 shouldBe("document.getElementById('cell-contents').offsetWidth", "88");
14 </script>