Move rolling back badly parsed property to CSSPropertyParser::parseValue
When CSSPropertyParser::parseValue fails, we sometimes have already yielded property/value pairs (e.g. when parsing shorthands). In this case we roll back any yielded values. This patch moves the logic for this to CSSPropertyParser since this is a better fit for it and makes the parseValue interface more sensible. BUG=404023 Review URL: https://codereview.chromium.org/645033004 git-svn-id: svn://svn.chromium.org/blink/trunk@183879 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment