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/syntax-011.xml - WPT Dashboard Interop Dashboard
<head>
<link rel="match" href="reference/ref-lime-6.xml"/>
<title>CSS Namespaces Test Suite: string comparison (no URI resolving)</title>
<style>
*|t { background:lime }
t { background:red }
</style>
<style>
*|t2 { background:lime }
t2 { background:red }
</style>
<style>
*|t3 { background:lime }
t3 { background:red }
</style>
<style>
*|t4 { background:lime }
t4 { background:red }
</style>
<style>
@namespace url("%41");
*|t5 { background:lime }
t5 { background:red }
</style>
<style>
@namespace url("A");
*|t6 { background:lime }
t6 { background:red }
</style>
</head>
<body>
<p><t5 xmlns="A">This sentence should have a green background.</t5></p>
<p><t6 xmlns="%41">This sentence should have a green background.</t6></p>
</body>
</html>