Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / fixed-table-with-percent-width-inside-extra-large-div.html
bloba84932a9d9eefdea847aa38086945ca326650e1d
1 <html>
2 <div style="width: 2000px; position: absolute; left: -9000px;">
3 <table style="background-color:blue"><tr><td>
5 <table id="table" style="width:100%; background-color:green; table-layout:fixed;"><tr><td>
6 Content
7 </td></tr></table>
9 </td></tr></table>
11 </div>
12 <span id="result">This test failed. The width of the fixed table should be 1994px, which is based on the width of its containing div.</span>
14 <script>
15 var table = document.getElementById("table");
16 var result = document.getElementById("result");
17 if (window.getComputedStyle(table, null).getPropertyValue("width") == "1994px")
18 result.innerHTML = "Success! The width of the fixed table is 1994px, which is based on the width of its containing div.";
19 </script>
20 </html>