mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 06:05:44 +00:00
e738cb58da
Adding more testcases to the regression test suite
37 lines
782 B
HTML
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> |