updated to match new CSSParser code