DescriptionImplements CSSPropertyAPI for the font-feature-settings property.
A part of Project Ribbon, separating the parsing logic for CSS
properties from the parser into an API. This patch removes
CSSPropertyFontFeatureSettings from the switch statement in
parseSingleValue, and calls the API instead.
This patch:
- Adds CSSPropertyAPIFontFeatureSettings.cpp to the BUILD.gn file.
- Adds parseSingleValue to font-feature-settings in CSSProperties.json5 so that it will be added to the generated files for the api.
- Moves the parsing logic for font-feature-settings from CSSPropertyParser.cpp to
CSSPropertyAPIFontFeatureSettings.cpp, which implements CSSPropertyAPI.h.
Diff: https://gist.github.com/jm318/db6da170e28cb7fefa0056a364f164f0/revisions
BUG=668012
Review-Url: https://codereview.chromium.org/2861633002
Cr-Commit-Position: refs/heads/master@{#469282}
Committed: https://chromium.googlesource.com/chromium/src/+/b0f43286afa116cc6ac6160cbf9cec199ba56ee3
Patch Set 1 #
Total comments: 2
Patch Set 2 : Replaced include by forward declaration. #
Messages
Total messages: 25 (17 generated)
|