1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>CSS Test: Reference Result
</title>
5 <!-- Adapted margin-top values to allow compensating values for height of 1px in the reference result-->
6 <style type=
"text/css">
12 height: 1px; /*Amended to 1px to allow reference result to paint*/
28 height: 1px; /*Amended to 1px to allow reference result to paint*/
32 li#yhidden
{ overflow-y:hidden
; }
33 li#xhidden
{ overflow-x:hidden
; }
35 ul#heightless
{height: 1px; /*Amended to 1px to allow reference result to paint*/}
41 <p>Test passes if
<strong>5 green
"PASS"</strong> are each preceded by a filled disc.
</p>
43 <!--Inline content in div with display: list-item, overflow: visible and height:0 gets painted-->
44 <div id=
"heightzerolistitem">PASS
</div>
46 <!--Inline content in list-item with overflow: visible and height:0 gets painted-->
51 <!--Inline content in list-item and list-item parent with overflow: visible and height:0 gets painted-->
56 <!--Block content in div with display: list-item, overflow: visible and height:0 gets painted-->
57 <div id=
"heightzerolistitem" style=
"margin-top: 59px;"><div>PASS
</div></div>
59 <!--Block content in list-item with overflow: visible and height:0 gets painted-->
61 <li><div>PASS
</div></li>
64 <!--Inline content in div with display: list-item, overflow-y: hidden and height:0 does not get painted-->
65 <div id=
"heightzerolistitem" style=
"overflow-y:hidden;">PASS
</div>