gecko-dev/layout/reftests/css-namespace/scope-001.xml

20 строки
626 B
XML

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-namespace/#scope"/>
<meta name="flags" content="invalid"/>
<title>CSS Namespaces Test Suite: scope &lt;style></title>
<style>
@namespace x url("test");
test { background:lime }
</style>
<style>
x|test { background:red }
</style>
</head>
<body>
<p><test xmlns="test">This sentence should have a green background.</test></p>
</body>
</html>