gecko-dev/htmlparser/tests/html/54651.html
harishd%netscape.com e738cb58da ** NOT PART OF THE BUILD **
Adding more testcases to the regression test suite
2002-07-09 21:19:20 +00:00

37 lines
782 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html><head><title>Child Selectors Test</title>
<style type="text/css">
DIV P { background: red; color: yellow }
LI P { background: green; color: white; }
DIV P:after { content: ' [[ FAILED ]]'; }
LI P:after { content: ' [[ PASSED ]]'; }
* { padding: 4px; border: 1px solid lime; margin: 4px; }
</style></head>
<body>
<p>Below this box, every box should be within another. In other
words, the only SIBLINGS in this document should be this box and the
immediate next one. In particular, LI should allow the inner DIV to
nest within it.</p>
<div>
DIV
<ol>
<li>
LI
<div>
DIV
<p>
P
</p>
</div>
</li>
</ol>
</div>
</body></html>