Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-namespaces/prefix-006.xml - WPT Dashboard Interop Dashboard
<head>
<link rel="match" href="reference/ref-lime-2.xml"/>
<title>CSS Namespaces Test Suite: no prefix</title>
<style>
@namespace "test";
|t { background:lime }
t { background:red }
</style>
<style>
@namespace "test";
t2 { background:lime }
|t2 { background:red }
</style>
</head>
<body>
<p><t xmlns="">This sentence should have a green background.</t></p>
<p><t2 xmlns="test">This sentence should have a green background.</t2></p>
</body>
</html>