1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
<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/#syntax"/>
<title>CSS Namespaces Test Suite: string comparison (no URI resolving)</title>
<style>
@namespace url("http://example.com/");
*|t { background:lime }
t { background:red }
</style>
<style>
@namespace url("http://example.com/");
*|t2 { background:lime }
t2 { background:red }
</style>
<style>
@namespace url("HTTP://example.com/");
*|t3 { background:lime }
t3 { background:red }
</style>
<style>
@namespace url("http://example.COM/");
*|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><t xmlns="HTTP://example.com/">This sentence should have a green background.</t></p>
<p><t2 xmlns="http://example.COM/">This sentence should have a green background.</t2></p>
<p><t3 xmlns="http://example.com/">This sentence should have a green background.</t3></p>
<p><t4 xmlns="http://example.com/">This sentence should have a green background.</t4></p>
<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>
|