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

Issue 2745023002: Use CSSProperties.json5 format for nonproperties as well. (Closed)

Created:
3 years, 9 months ago by shend
Modified:
3 years, 9 months ago
Reviewers:
meade_UTC10
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use CSSProperties.json5 format for nonproperties as well. This patch modifies make_computed_style_base.py so that hardcoded nonproperties use the same JSON format as CSSProperties.json5. The list of dicts in NONPROPERTY_FIELDS has the same format and meaning as the data in CSSProperties.json5. This allows us to specify different templates for nonproperties. This is prework for combining the code logic for properties and nonproperties. BUG=628043 Review-Url: https://codereview.chromium.org/2745023002 Cr-Commit-Position: refs/heads/master@{#457694} Committed: https://chromium.googlesource.com/chromium/src/+/d56884370eecac968f54c5826958938d7c8f1a4c

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 4

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -20 lines) Patch
M third_party/WebKit/Source/build/scripts/make_computed_style_base.py View 1 2 3 chunks +25 lines, -20 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (11 generated)
shend
Hi Naina, PTAL :)
3 years, 9 months ago (2017-03-13 06:38:37 UTC) #2
nainar
On 2017/03/13 at 06:38:37, shend wrote: > Hi Naina, PTAL :) Sorry someone with more ...
3 years, 9 months ago (2017-03-13 07:20:05 UTC) #3
shend
Hi Eddy, PTAL
3 years, 9 months ago (2017-03-14 04:39:30 UTC) #5
meade_UTC10
lgtm with nits: Needs a clarification in a comment + updating the description a little. ...
3 years, 9 months ago (2017-03-15 06:24:54 UTC) #6
shend
https://codereview.chromium.org/2745023002/diff/20001/third_party/WebKit/Source/build/scripts/make_computed_style_base.py File third_party/WebKit/Source/build/scripts/make_computed_style_base.py (right): https://codereview.chromium.org/2745023002/diff/20001/third_party/WebKit/Source/build/scripts/make_computed_style_base.py#newcode20 third_party/WebKit/Source/build/scripts/make_computed_style_base.py:20: {'name': 'unique', 'field_template': 'monotonic_flag'}, On 2017/03/15 at 06:24:54, Eddy ...
3 years, 9 months ago (2017-03-16 02:08:01 UTC) #10
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/2745023002/40001
3 years, 9 months ago (2017-03-17 03:19:48 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 05:27:29 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/d56884370eecac968f54c5826958...

Powered by Google App Engine
This is Rietveld 408576698