Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Issue 2861633002: Implements CSSPropertyAPI for the font-feature-settings property. (Closed)

Created:
3 years, 7 months ago by Jia
Modified:
3 years, 7 months ago
Reviewers:
meade_UTC10, Bugs Nash
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implements 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -2 lines) Patch
M third_party/WebKit/Source/core/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.json5 View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontFeatureSettings.cpp View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (17 generated)
Jia
3 years, 7 months ago (2017-05-03 08:27:39 UTC) #8
Bugs Nash
lgtm with include removal congrats on your first stylimations patch!! https://codereview.chromium.org/2861633002/diff/1/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontFeatureSettings.cpp File third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontFeatureSettings.cpp (right): https://codereview.chromium.org/2861633002/diff/1/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontFeatureSettings.cpp#newcode7 ...
3 years, 7 months ago (2017-05-04 03:25:30 UTC) #9
Jia
Thanks Bugs! PTAL. https://codereview.chromium.org/2861633002/diff/1/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontFeatureSettings.cpp File third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontFeatureSettings.cpp (right): https://codereview.chromium.org/2861633002/diff/1/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontFeatureSettings.cpp#newcode7 third_party/WebKit/Source/core/css/properties/CSSPropertyAPIFontFeatureSettings.cpp:7: #include "core/css/parser/CSSParserContext.h" On 2017/05/04 03:25:30, Bugs ...
3 years, 7 months ago (2017-05-04 04:14:48 UTC) #10
Jia
Added diff of generated files.
3 years, 7 months ago (2017-05-04 04:40:33 UTC) #15
meade_UTC10
lgtm \o/ Nice job on getting the first CL up so quickly!
3 years, 7 months ago (2017-05-04 04:45:07 UTC) #16
Jia
On 2017/05/04 04:45:07, meade_UTC10 wrote: > lgtm \o/ Nice job on getting the first CL ...
3 years, 7 months ago (2017-05-04 04:49:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2861633002/20001
3 years, 7 months ago (2017-05-04 05:59:36 UTC) #22
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 06:03:44 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b0f43286afa116cc6ac6160cbf9c...

Powered by Google App Engine
This is Rietveld 408576698