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

Issue 2681833004: Automatically generate EBreakBetween & EBreakInside (Closed)

Created:
3 years, 10 months ago by amoylan
Modified:
3 years, 10 months ago
Reviewers:
sashab, shend
CC:
sashab, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Automatically generate EBreakBetween & EBreakInside The change updates CSSProperties.json5 to cause the EBreakBetween & EBreakInside enums to be automatically generated in ComputedStyleBase.cpp. The manual definition of these enums and any relevant getters, setters, initializers, and comparitors in ComputedStyle.h/cpp are removed. BUG=628043 Review-Url: https://codereview.chromium.org/2681833004 Cr-Commit-Position: refs/heads/master@{#450124} Committed: https://chromium.googlesource.com/chromium/src/+/1b4d28430e901f64aa5727490a3768bb25f3139e

Patch Set 1 #

Total comments: 9

Patch Set 2 : Move comments about legacy page-break-etc properties to CSSProperties.json5 #

Patch Set 3 : Remove out-dated comments in NonInhertiedData::operator==. #

Patch Set 4 : Add clarifying comment about fields that do not impact operator==. #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -66 lines) Patch
M third_party/WebKit/Source/core/css/CSSProperties.json5 View 1 2 3 4 1 chunk +19 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 3 4 4 chunks +3 lines, -45 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 2 3 4 1 chunk +0 lines, -17 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
amoylan
Hi Darren, could you please take the first look? CC Sasha for comment on my ...
3 years, 10 months ago (2017-02-08 02:29:45 UTC) #3
sashab
Commented on comments about comments. :^) https://codereview.chromium.org/2681833004/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.h File third_party/WebKit/Source/core/style/ComputedStyle.h (left): https://codereview.chromium.org/2681833004/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.h#oldcode766 third_party/WebKit/Source/core/style/ComputedStyle.h:766: // break-after (shorthand ...
3 years, 10 months ago (2017-02-08 02:32:15 UTC) #5
amoylan
Thanks https://codereview.chromium.org/2681833004/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.h File third_party/WebKit/Source/core/style/ComputedStyle.h (left): https://codereview.chromium.org/2681833004/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.h#oldcode766 third_party/WebKit/Source/core/style/ComputedStyle.h:766: // break-after (shorthand for page-break-after and -webkit-column-break-after) On ...
3 years, 10 months ago (2017-02-08 02:48:47 UTC) #6
shend
lgtm, nice work! Looks much cleaner. https://codereview.chromium.org/2681833004/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.h File third_party/WebKit/Source/core/style/ComputedStyle.h (right): https://codereview.chromium.org/2681833004/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.h#newcode231 third_party/WebKit/Source/core/style/ComputedStyle.h:231: // hasViewportUnits On ...
3 years, 10 months ago (2017-02-08 03:32:26 UTC) #7
sashab
Oh, I think darren is right. Ok sorry, please add those comments back to the ...
3 years, 10 months ago (2017-02-09 03:34:34 UTC) #8
amoylan
On 2017/02/09 03:34:34, sashab wrote: > Oh, I think darren is right. Ok sorry, please ...
3 years, 10 months ago (2017-02-09 04:26:33 UTC) #9
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/2681833004/60001
3 years, 10 months ago (2017-02-13 00:50:13 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/151967) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-13 00:51:42 UTC) #14
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/2681833004/80001
3 years, 10 months ago (2017-02-13 02:04:43 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/309522) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, ...
3 years, 10 months ago (2017-02-13 08:05:23 UTC) #19
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/2681833004/80001
3 years, 10 months ago (2017-02-13 20:55:44 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 22:37:44 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/1b4d28430e901f64aa5727490a37...

Powered by Google App Engine
This is Rietveld 408576698