Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / td-display-nowrap.html
blob4cbe0b07a70ec6573750c5c57ace2c704b703947
1 <html>
2 <head>
3 <script type="text/javascript" charset="utf-8">
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 function runTest()
9 var testHeader = document.getElementById('testHeader');
10 var testDiv = document.getElementById('testDiv');
12 var result = document.getElementById('result');
13 result.innerHTML = 'Computed white-space style of &lt;th&gt;: ' + window.getComputedStyle(testHeader).whiteSpace + '<br>';
14 result.innerHTML += 'Computed white-space style of &lt;div&gt;: ' + window.getComputedStyle(testDiv).whiteSpace + '<br>';
16 </script>
17 </head>
18 <body onload="runTest()">
20 <p>Tests the behavior change mentioned in <a href="https://bugs.webkit.org/show_bug.cgi?id=21287#c3">https://bugs.webkit.org/show_bug.cgi?id=21287#c3</a></p>
22 <table>
23 <tr><th nowrap id="testHeader" style="display: block;">Header</th></tr>
24 </table>
25 <div id="testDiv" style="display: table-cell; white-space: -webkit-nowrap">
26 Div with display: table-cell
27 </div>
28 <div id="result" style="margin: 10px;">
29 </div>
31 </body>
32 </html>