<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>Universal selector without declared namespace</title>
   <script src="/resources/testharness.js"></script>
   <script src="/resources/testharnessreport.js"></script>
   <script src="common.js"></script>
  <style type="text/css"><![CDATA[@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.green * { background-color : lime ! important }
div.test * { display : block ; margin-bottom : 1em }
div.test |* { background-color : red }]]></style>
  <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found -->
  <meta name="flags" content=" namespace" />
 </head>
 <body>
<div class="test">
 <p>This line should be unstyled.</p>
 <elementA id="u1" xmlns="http://www.example.org/a">This line should be unstyled.</elementA>
 <elementB id="u2" xmlns="http://www.example.org/b">This line should be unstyled.</elementB>
 <div class="green">
  <p id="t1" xmlns="">This line should have a green background</p>
  <elementA id="t2" xmlns="">This line should have a green background</elementA>
  <elementB id="t3" xmlns="">This line should have a green background</elementB>
 </div>
</div>
<script><![CDATA[
test(function() {
  assert_background_color('t1', LIME);
  assert_background_color('t2', LIME);
  assert_background_color('t3', LIME);
  assert_not_background_color('u1', LIME);
  assert_not_background_color('u2', LIME);
}, 'Universal selector without declared namespace');
]]></script>
</body>
</html>
