tmpvar/jsdom — Issue #395: :first-of-type selector not working
Author: tanepiper
Created: 2012-02-07 00:12:27+00:00
State: open

In my parsing code, I have the following path:

div.divResultsProductList div.divResultsProduct div.divResultsProductText div:first-of-type

When I try parse this with jsdom on this page http://www.vonmaur.com/Results.aspx?md=c&cat=645,29&rt=1 - it should select the first div that contains the price for each item, due to the page having an empty div after it, and there being no classes or id's on them to parse further.

As far as I can tell this should be supported via sizzle, but broken if I have QuerySelector set to true or false