3 <script type=
"text/javascript" charset=
"utf-8">
5 testRunner.dumpAsText();
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
<th
>: ' + window.getComputedStyle(testHeader).whiteSpace + '
<br>';
14 result.innerHTML += 'Computed white-space style of
<div
>: ' + window.getComputedStyle(testDiv).whiteSpace + '
<br>';
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>
23 <tr><th nowrap
id=
"testHeader" style=
"display: block;">Header
</th></tr>
25 <div id=
"testDiv" style=
"display: table-cell; white-space: -webkit-nowrap">
26 Div with display: table-cell
28 <div id=
"result" style=
"margin: 10px;">