mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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> |