only call reduceStyleSheetForParsing() for stylesheets