Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>NEGATED type element selector without declared namespace</title>
div.stub > * { display : block ; margin-bottom : 1em ;
background-color : red }
div.stub > *:not(|p) { background-color : lime }
div.stub > *|l > *:not(|p) { background-color : red }]]></style>
<link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found -->
<meta name="flags" content=" namespace" />
</head>
<body>
<div class="stub">
<p>This paragraph should have a green background</p>
<p xmlns="">This paragraph should have a
green background</p>
</l>
</div>
</body>
</html>