Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<head>
<title>Type element selector without declared namespace</title>
<style type="text/css"><![CDATA[@namespace test url(http://www.example.org/b);
*|testA { background-color : red }
|testA {background-color : lime }]]></style>
<link rel="author" title="Daniel Glazman" href="http://glazman.org/"/>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<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>
<testA xmlns="" id="t1">This paragraph has no declared namespace and should have a green background.</testA>
<script><![CDATA[
test(function() {
assert_background_color('t1', LIME);
}, 'Type element selector without declared namespace');
]]></script>
</body>
</html>