<root>
 <head xmlns="http://www.w3.org/1999/xhtml";>
  <link rel="author" title="Elika J Etemad" href="http://fantasai.inkedblade.net/contact"/>
  <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/#prefixes"/>
  <title>CSS Namespaces Test Suite: empty string default namespace</title>
  <style>
   @namespace "";
   @namespace x "test";
   *|t, *|root { display:block }
   t { background:lime }
  </style>
 </head>
 <t x="">If this line is green, then an empty string default namespace matches no-namespace elements.</t>
 <t xmlns="foo">If this line is green, then an empty string prefix matches any-namespace elements.</t>
</root>
<root>
 <head xmlns="http://www.w3.org/1999/xhtml";>
  <link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
  <link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
  <link rel="author" title="Elika J Etemad" href="http://fantasai.inkedblade.net/contact"/>
  <link rel="help" href="http://www.w3.org/TR/css3-namespace/#prefixes"/>
  <title>CSS Namespaces Test: empty string prefix</title>
  <style>
   @namespace foo "";
   root, t { display: block; }
   t { background:red }
   foo|t { background:lime }
  </style>
 </head>
 <t>If this line is green, then an empty string prefix matches no-namespace elements.</t>
 <t xmlns="test">If this line is green, then an empty string prefix matches any-namespace elements.</t>
</root>

Reply via email to