https://github.com/web-platform-tests/wpt
Raw File
Tip revision: dfa3cf326b7381ab9eec488911595df9e11deb15 authored by Robert Ma on 16 March 2018, 21:17:56 UTC
No longer allow Chrome stability check to fail
Tip revision: dfa3cf3
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: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>
back to top