void MediaQueryParser::handleBlocks(const CSSParserToken& token) { if (token.getBlockType() == CSSParserToken::BlockStart && (token.type() != LeftParenthesisToken || m_blockWatcher.blockLevel())) m_state = SkipUntilBlockEnd; }
void MediaQueryParser::skipUntilBlockEnd(CSSParserTokenType /*type */, const CSSParserToken& token) { if (token.getBlockType() == CSSParserToken::BlockEnd && !m_blockWatcher.blockLevel()) m_state = SkipUntilComma; }