DescriptionImplemented parseSingleValue in CSSPropertyAPICounterReset.
Part of Project Ribbon, separating the parsing logic for CSS
properties from the parser into an API.
This patch
- added parseSingleValue method to the CSSPropertyAPICounterReset
API, with parsing logic moved from CSSPropertyParser
- removed CSSPropertyCounterReset from the switch statement in
CSSPropertyParser::parseSingleValue, calling the API instead using
a CSSPropertyDescriptor
- added parseSingleValue to counter-reset in CSSProperties.json5
so it will be added to the generated files for the api
Diffs in generated files:
https://gist.github.com/BugsNash/ee5824f42b2120bc405ef97f6e10d99a/revisions
BUG=668012
Review-Url: https://codereview.chromium.org/2784443003
Cr-Commit-Position: refs/heads/master@{#462809}
Committed: https://chromium.googlesource.com/chromium/src/+/da9c68bb0ee3cb79b68a493ad080aa43262865e5
Patch Set 1 #Patch Set 2 : Changed argument type from ponter to address as per change to earlier patch #
Messages
Total messages: 19 (12 generated)
|