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

Issue 2759343002: Generate inherited nonproperties insideLink and hasSimpleUnderline. (Closed)

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

Description

Generate inherited nonproperties insideLink and hasSimpleUnderline. This patch moves insideLink and hasSimpleUnderline to be generated in ComputedStyleBase. Both are inherited nonproperties. To generate them, this patch allows nonproperties to be inherited and have arbitrary field_templates. Since these are the last two remaining inherited fields stored directly in ComputedStyle, this patch also removes the InheritedData struct from ComputedStyle. Diff of generated code: https://gist.github.com/darrnshn/81e60b88825691200d681a1927040167/revisions BUG=628043 Review-Url: https://codereview.chromium.org/2759343002 Cr-Commit-Position: refs/heads/master@{#459301} Committed: https://chromium.googlesource.com/chromium/src/+/8a7ed1bc6c96fa8ce4da4c7d80eb064a74265aff

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -61 lines) Patch
M third_party/WebKit/Source/build/scripts/make_computed_style_base.py View 1 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl View 1 1 chunk +1 line, -1 line 3 comments Download
M third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 chunks +0 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 15 chunks +11 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 1 chunk +0 lines, -6 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 21 (13 generated)
shend
Hi Alan, PTAL
3 years, 9 months ago (2017-03-22 01:59:59 UTC) #3
alancutter (OOO until 2018)
lgtm https://codereview.chromium.org/2759343002/diff/40001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl File third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl (left): https://codereview.chromium.org/2759343002/diff/40001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl#oldcode19 third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl:19: {% for field in fields if field.is_property and ...
3 years, 9 months ago (2017-03-22 06:25:19 UTC) #4
shend
On 2017/03/22 at 06:25:19, alancutter wrote: > https://codereview.chromium.org/2759343002/diff/40001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl#newcode24 > third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl:24: void ComputedStyleBase::copyNonInheritedFromCached( > Unrelated to ...
3 years, 9 months ago (2017-03-22 22:01:37 UTC) #5
shend
https://codereview.chromium.org/2759343002/diff/40001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl File third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl (left): https://codereview.chromium.org/2759343002/diff/40001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl#oldcode19 third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl:19: {% for field in fields if field.is_property and field.is_inherited ...
3 years, 9 months ago (2017-03-22 22:02:00 UTC) #6
alancutter (OOO until 2018)
On 2017/03/22 at 22:02:00, shend wrote: > https://codereview.chromium.org/2759343002/diff/40001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl > File third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl (left): > > https://codereview.chromium.org/2759343002/diff/40001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl#oldcode19 ...
3 years, 9 months ago (2017-03-23 02:04:33 UTC) #7
shend
On 2017/03/23 at 02:04:33, alancutter wrote: > On 2017/03/22 at 22:02:00, shend wrote: > > ...
3 years, 9 months ago (2017-03-23 02:21:50 UTC) #8
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/2759343002/40001
3 years, 9 months ago (2017-03-24 00:20:29 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 00:35:44 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8a7ed1bc6c96fa8ce4da4c7d80eb...

Powered by Google App Engine
This is Rietveld 408576698