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

Issue 410953002: Merge CSSProperties.in and CSSShorthands.in (Closed)

Created:
6 years, 5 months ago by Timothy Loh
Modified:
6 years, 4 months ago
CC:
blink-reviews, caseq+blink_chromium.org, aandrey+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, blink-reviews-css, devtools-reviews_chromium.org, ed+blinkwatch_opera.com, lushnikov+blink_chromium.org, yurys+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, darktears, sergeyv+blink_chromium.org, rune+blink, rwlbuis, eseidel, esprehn
Base URL:
https://chromium.googlesource.com/chromium/blink.git@infiles
Project:
blink
Visibility:
Public.

Description

Merge CSSProperties.in and CSSShorthands.in This patch is part 1 of merging the CSS .in files (part 2 is also up, at https://codereview.chromium.org/415613002). Having a single .in file for listing CSS properties makes it both easier to add new properties and add new property flags. I've renamed some of the StyleBuilder flags to make it more obvious what these refer to and also re-ordered CSSProperties.in in some sort of sensible fashion (see part 2 patch for what this will look like with the remaining properties); the high/low priority split doesn't make too much sense right now but will of course make sense once CSSPropertyNames.in is merged into the same file. BUG=396992 TBR=pfeldman Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180020

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : err on safe side for devtools parsing longhands #

Total comments: 10

Patch Set 4 : rebase/address comments #

Patch Set 5 : address more comments #

Patch Set 6 : rebase to not depend on cascade #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+381 lines, -308 lines) Patch
A Source/build/scripts/css_properties.py View 1 2 3 4 5 1 chunk +64 lines, -0 lines 0 comments Download
M Source/build/scripts/make_style_builder.py View 1 2 3 4 5 1 chunk +16 lines, -51 lines 0 comments Download
M Source/build/scripts/make_style_shorthands.py View 1 1 chunk +10 lines, -26 lines 0 comments Download
M Source/build/scripts/name_utilities.py View 1 chunk +0 lines, -9 lines 0 comments Download
M Source/build/scripts/scripts.gni View 2 chunks +19 lines, -0 lines 0 comments Download
M Source/build/scripts/scripts.gypi View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/build/scripts/templates/StyleBuilder.cpp.tmpl View 1 2 3 4 5 2 chunks +2 lines, -3 lines 0 comments Download
M Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M Source/build/scripts/templates/StylePropertyShorthand.cpp.tmpl View 1 2 3 4 5 3 chunks +7 lines, -7 lines 0 comments Download
M Source/build/scripts/templates/StylePropertyShorthand.h.tmpl View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/BUILD.gn View 1 2 3 4 5 3 chunks +3 lines, -10 lines 0 comments Download
M Source/core/core_generated.gyp View 1 2 3 4 5 3 chunks +3 lines, -5 lines 0 comments Download
M Source/core/css/CSSProperties.in View 1 2 3 4 5 6 13 chunks +230 lines, -117 lines 0 comments Download
D Source/core/css/CSSShorthands.in View 1 2 3 1 chunk +0 lines, -53 lines 0 comments Download
M Source/core/css/parser/CSSPropertyParser.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/devtools.gyp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/scripts/generate_supported_css.py View 1 2 1 chunk +6 lines, -8 lines 0 comments Download
M Tools/Scripts/webkitpy/w3c/test_converter.py View 2 chunks +9 lines, -11 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Timothy Loh
Part 1 of merging CSS .in files (split off from https://codereview.chromium.org/371443003/). I've written this on ...
6 years, 5 months ago (2014-07-24 07:46:51 UTC) #1
lushnikov
https://codereview.chromium.org/410953002/diff/20001/Source/devtools/scripts/generate_supported_css.py File Source/devtools/scripts/generate_supported_css.py (right): https://codereview.chromium.org/410953002/diff/20001/Source/devtools/scripts/generate_supported_css.py#newcode65 Source/devtools/scripts/generate_supported_css.py:65: longhands = line.partition("longhands=")[2] I've just found the following in ...
6 years, 5 months ago (2014-07-24 08:08:35 UTC) #2
Timothy Loh
https://codereview.chromium.org/410953002/diff/20001/Source/devtools/scripts/generate_supported_css.py File Source/devtools/scripts/generate_supported_css.py (right): https://codereview.chromium.org/410953002/diff/20001/Source/devtools/scripts/generate_supported_css.py#newcode65 Source/devtools/scripts/generate_supported_css.py:65: longhands = line.partition("longhands=")[2] On 2014/07/24 08:08:35, lushnikov wrote: > ...
6 years, 5 months ago (2014-07-24 08:27:43 UTC) #3
lushnikov
https://codereview.chromium.org/410953002/diff/20001/Source/devtools/scripts/generate_supported_css.py File Source/devtools/scripts/generate_supported_css.py (right): https://codereview.chromium.org/410953002/diff/20001/Source/devtools/scripts/generate_supported_css.py#newcode65 Source/devtools/scripts/generate_supported_css.py:65: longhands = line.partition("longhands=")[2] My bad. One more thing: this ...
6 years, 5 months ago (2014-07-24 09:26:30 UTC) #4
Timothy Loh
https://codereview.chromium.org/410953002/diff/20001/Source/devtools/scripts/generate_supported_css.py File Source/devtools/scripts/generate_supported_css.py (right): https://codereview.chromium.org/410953002/diff/20001/Source/devtools/scripts/generate_supported_css.py#newcode65 Source/devtools/scripts/generate_supported_css.py:65: longhands = line.partition("longhands=")[2] On 2014/07/24 09:26:30, lushnikov wrote: > ...
6 years, 5 months ago (2014-07-25 03:36:48 UTC) #5
Timothy Loh
+alancutter could you take a look at this and the followup https://codereview.chromium.org/415613002 ? Thanks :)
6 years, 5 months ago (2014-07-25 03:44:37 UTC) #6
lushnikov
On 2014/07/25 03:36:48, Timothy Loh wrote: > https://codereview.chromium.org/410953002/diff/20001/Source/devtools/scripts/generate_supported_css.py > File Source/devtools/scripts/generate_supported_css.py (right): > > https://codereview.chromium.org/410953002/diff/20001/Source/devtools/scripts/generate_supported_css.py#newcode65 ...
6 years, 5 months ago (2014-07-25 11:34:59 UTC) #7
apavlov
Nice! https://codereview.chromium.org/410953002/diff/40001/Source/core/css/CSSProperties.in File Source/core/css/CSSProperties.in (right): https://codereview.chromium.org/410953002/diff/40001/Source/core/css/CSSProperties.in#newcode12 Source/core/css/CSSProperties.in:12: // sufficient, we should prefer to use sb_converter, ...
6 years, 5 months ago (2014-07-25 12:13:23 UTC) #8
apavlov
+pfeldman for devtools changes
6 years, 5 months ago (2014-07-25 12:14:16 UTC) #9
alancutter (OOO until 2018)
lgtm with nits, looking forward to this merge. https://codereview.chromium.org/410953002/diff/40001/Source/core/css/CSSProperties.in File Source/core/css/CSSProperties.in (right): https://codereview.chromium.org/410953002/diff/40001/Source/core/css/CSSProperties.in#newcode10 Source/core/css/CSSProperties.in:10: // ...
6 years, 4 months ago (2014-07-28 01:09:10 UTC) #10
Timothy Loh
https://codereview.chromium.org/410953002/diff/40001/Source/core/css/CSSProperties.in File Source/core/css/CSSProperties.in (right): https://codereview.chromium.org/410953002/diff/40001/Source/core/css/CSSProperties.in#newcode10 Source/core/css/CSSProperties.in:10: // The remaining properties are used for the StyleBuilder ...
6 years, 4 months ago (2014-07-28 02:54:19 UTC) #11
alancutter (OOO until 2018)
lgtm after rebase.
6 years, 4 months ago (2014-08-11 03:55:56 UTC) #12
Timothy Loh
The CQ bit was checked by timloh@chromium.org
6 years, 4 months ago (2014-08-11 03:56:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/410953002/120001
6 years, 4 months ago (2014-08-11 03:56:55 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 4 months ago (2014-08-11 04:53:16 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-11 04:55:44 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/12399)
6 years, 4 months ago (2014-08-11 04:55:46 UTC) #17
Timothy Loh
On 2014/08/11 04:55:46, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 4 months ago (2014-08-12 01:43:41 UTC) #18
Timothy Loh
The CQ bit was checked by timloh@chromium.org
6 years, 4 months ago (2014-08-12 01:44:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/410953002/120001
6 years, 4 months ago (2014-08-12 01:44:17 UTC) #20
commit-bot: I haz the power
6 years, 4 months ago (2014-08-12 01:49:02 UTC) #21
Message was sent while issue was closed.
Change committed as 180020

Powered by Google App Engine
This is Rietveld 408576698