Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/selectors/selectors-namespace-001.xml - WPT Dashboard Interop Dashboard
<head>
<title>CSS: 1 simple test of namespaces (attributes)</title>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="match" href="selectors-namespace-001-ref.xml"/>
<style type="text/css">
html|body { color: red; }
[test] { color: green; }
</style>
</head>
<body>
This text should be green.
</test>
</body>
</html>