pan>
  <span id="3" class="firstClass secondClass">First and Second class</span>
  <span id="4" class="thirdClass">Third class <span id="5" class="firstClass">Nested First class</span></span>
  
  <div id="collect">1<span class="ignore"><span class="someclass">2</span>3</span><ul><li class="ignore">4</li></ul></div>
  
</div>

<div id="perftest1"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span><