chromium/third_party/blink/web_tests/external/wpt/css/selectors/selectors-namespace-001.xml

<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:[email protected]"/>
  <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>