Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/selectors/old-tests/css3-modsel-93.xml - WPT Dashboard Interop Dashboard
<head>
<title>Type element selector without declared namespace</title>
*|testA { background-color : red }
|testA {background-color : lime }]]></style>
<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>