lol_html 1.2.1

Streaming HTML rewriter/parser with CSS selector-based API
Documentation
<html><head>
  <title>Nondeterministic matching of descendant and child combinators</title>
  <style type="text/css">p { color: red; }
blockquote > div p { color: green; }
</style>
  <link rel="author" title="Daniel Glazman" href="http://glazman.org/">
  <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"> <!-- bogus link to make sure it gets found -->
  <meta name="flags" content="">
 </head>
 <body>
<blockquote>
<div>
<div>
<!--[ELEMENT('p')]--><p><!--[TEXT('p')]-->This text should be green.<!--[/TEXT('p')]--></p><!--[/ELEMENT('p')]-->
</div>
</div>
</blockquote>

</body></html>