Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / height-applies-to-010a-expected.html
blob4ed01a998f5920ad16df82afeff9e333dd8fb00f
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 set to 0 to elements with 'display' set to 'list-item'</title>
8 <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
9 <link rel="author" title="Boris Zbarsky" href="bzbarsky@MIT.EDU">
10 <link rel="help" title="10.5 Content height: the 'height' property" href="http://www.w3.org/TR/CSS21/visudet.html#the-height-property">
11 <link rel="help" title="11.1.1 Overflow: the 'overflow' property" href="http://www.w3.org/TR/CSS21/visufx.html#overflow">
13 <meta content="" name="flags">
14 <meta content="If height of content exceeds the set height of a block-level non-replaced element in normal flow (like a list-item element such as in this test), then the content should overflow according to the 'overflow' property." name="assert">
16 <style type="text/css">
17 div
19 color: green;
20 display: list-item;
21 font: 2em/1 serif;
22 margin-left: 1.25em;
23 overflow: visible;
28 height: auto;
29 margin-top: 1em;
30 overflow: visible;
35 color: green;
36 font: 2em/1 serif;
37 overflow: visible;
40 </style>
42 </head>
44 <body>
46 <p>Test passes if <strong>3 green "PASS"</strong> are each preceded by a filled disc.</p>
48 <div>PASS</div>
50 <ul>
51 <li>PASS</li>
52 </ul>
54 <ul>
55 <li>PASS</li>
56 </ul>
58 </body>
59 </html>