-
Notifications
You must be signed in to change notification settings - Fork 4k
Expand file tree
/
Copy pathcss3-modsel-92.xml
More file actions
24 lines (24 loc) · 987 Bytes
/
Copy pathcss3-modsel-92.xml
File metadata and controls
24 lines (24 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Type element selector with universal namespace</title>
<style type="text/css"><![CDATA[@namespace test url(http://www.example.org/b);
div.myTest * { background-color : red }
div.myTest *|testA { background-color : lime }]]></style>
<link rel="author" title="Daniel Glazman" href="http://glazman.org/"/>
<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" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="common.js"></script>
</head>
<body>
<div class="myTest">
<testA id="t1" xmlns="http://www.example.org/b">This paragraph should have a green background</testA>
</div>
<script><![CDATA[
test(function() {
assert_background_color('t1', LIME);
}, 'Type element selector with universal namespace');
]]></script>
</body>
</html>