Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / height-width-table-001.htm
blob9806222bd371807d1c5db1844f136ef8e2a158a0
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
4 <head>
6 <title>CSS Test: height and width of element set to 'display: table'</title>
8 <!--
9 Inspired by
10 http://test.csswg.org/suites/css2.1/20101210/html4/empty-cells-applies-to-007.htm
11 -->
13 <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
14 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#height-layout" title="17.5.3 Table height algorithms">
15 <link rel="bookmark" href="http://lists.w3.org/Archives/Public/www-style/2011Jan/0178.html" title="[CSS21] Question on section 17.6.1 The separated borders model and width of inline-table">
16 <meta name="flags" content="">
17 <meta name="assert" content="The height and width of an element styled with display set to 'table' is given by its height and width properties when specified.">
19 <style type="text/css">
20 div#overlapped-red-reference
22 background-color: red;
23 height: 100px;
24 position: absolute;
25 width: 100px;
26 z-index: -1;
29 div#overlapping-green-test
31 background-color: green;
32 border: green solid 25px;
33 border-collapse: separate;
34 display: table;
35 height: 50px;
36 width: 50px;
38 </style>
40 </head>
42 <body>
44 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
46 <div id="overlapped-red-reference"></div>
48 <div id="overlapping-green-test"></div>
50 </body>
51 </html>