lol_html 1.2.1

Streaming HTML rewriter/parser with CSS selector-based API
Documentation
<html><head>
  <title>Universal selector without declared namespace</title>
  <style type="text/css">@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 xmlns="http://www.example.org/a">This line should be unstyled.</elementa>
 <elementb xmlns="http://www.example.org/b">This line should be unstyled.</elementb>
 <div class="green">
  <p xmlns="">This line should have a green background</p>
  <elementa xmlns="">This line should have a green background</elementa>
  <elementb xmlns="">This line should have a green background</elementb>
 </div>
</div>

</body></html>