blob: d46f13413346098dbd65b1e9ceff5fb8368e863e [file] [log] [blame]
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS: 1 simple test of namespaces (attributes)</title>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/namespace/001.xml"/>
<link rel="help" href="https://drafts.csswg.org/selectors-3/#attrnmsp"/>
<link rel="help" href="https://drafts.csswg.org/selectors-4/#attrnmsp"/>
<link rel="match" href="selectors-namespace-001-ref.xml"/>
<style type="text/css">
@namespace html url(http://www.w3.org/1999/xhtml);
@namespace test url(http://www.example.org/);
html|body { color: red; }
[test] { color: green; }
</style>
</head>
<body>
<test test="test" xmlns="http://www.example.org/">
This text should be green.
</test>
</body>
</html>