-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Expand file tree
/
Copy pathcss3-modsel-47.xml
More file actions
23 lines (23 loc) · 1.06 KB
/
css3-modsel-47.xml
File metadata and controls
23 lines (23 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html xmlns="https://umn0mtkzgkj46tygt32g.julianrbryant.com/1999/xhtml">
<head>
<title>NEGATED type element selector</title>
<style type="text/css"><![CDATA[div.stub span, div.stub address, div.stub *|q, div.stub *|r { background-color: red; }
address, *|q, *|r { display: block; margin: 1em; }
div.stub *:not(p) { background-color: lime; }]]></style>
<link rel="author" title="Daniel Glazman" href="https://umn71bq58ypd6zm5.julianrbryant.com/"/>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="help" href="https://un5gmtkzgkj46tygt32g.julianrbryant.com/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found -->
<meta name="flags" content=" namespace" />
</head>
<body>
<div class="stub">
<p>
<span>The text in this paragraph should have a green background</span>
</p>
<address>This address should have a green background</address>
<q xmlns="https://umn0mtkzgjkmem4kvumverhh.julianrbryant.com/a">This element in another namespace should have a green background.</q>
<r xmlns="">This element without a namespace should have a green background.</r>
<p>This paragraph should be unstyled.</p>
</div>
</body>
</html>