OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>WebKit Bug 14858: col width ignored when not tied to a single cel
l</title> | 4 <title>WebKit Bug 14858: col width ignored when not tied to a single cel
l</title> |
5 <link href="http://www.w3.org/TR/REC-CSS2/tables.html#q4" rel="help" /> | 5 <link href="http://www.w3.org/TR/REC-CSS2/tables.html#q4" rel="help" /> |
6 <script src="../js/resources/js-test-pre.js"></script> | 6 <script src="../../resources/js-test.js"></script> |
7 <script type="text/javascript" charset="utf-8"> | 7 <script type="text/javascript" charset="utf-8"> |
8 if (window.testRunner) | 8 if (window.testRunner) |
9 testRunner.dumpAsText(); | 9 testRunner.dumpAsText(); |
10 | 10 |
11 function runTest() | 11 function runTest() |
12 { | 12 { |
13 var testCell = document.getElementById('testCell'); | 13 var testCell = document.getElementById('testCell'); |
14 var testTable = document.getElementById('testTable'); | 14 var testTable = document.getElementById('testTable'); |
15 description("This tests <a href='http://webkit.org/b/14858'>Bug 14858: <c
ol> width ignored when not tied to a single cell</a>."); | 15 description("This tests <a href='http://webkit.org/b/14858'>Bug 14858: <c
ol> width ignored when not tied to a single cell</a>."); |
16 shouldBe("window.getComputedStyle(testCell).width", "'250px'"); | 16 shouldBe("window.getComputedStyle(testCell).width", "'250px'"); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 <td style="background-color:green"></td> | 62 <td style="background-color:green"></td> |
63 <td style="background-color:blue">right</td> | 63 <td style="background-color:blue">right</td> |
64 </tr> | 64 </tr> |
65 </tbody> | 65 </tbody> |
66 </table> | 66 </table> |
67 </div> | 67 </div> |
68 <div id="description"></div> | 68 <div id="description"></div> |
69 <div id="console"></div> | 69 <div id="console"></div> |
70 </body> | 70 </body> |
71 </html> | 71 </html> |
OLD | NEW |