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

Issue 2889353002: Generate diffs for properties that are generated in ComputedStyle (Closed)

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

Description

Generate diffs for properties that are generated in ComputedStyle This patch generates the diffing functions for properties: 1. that are stored directly on ComputedStyle 2. that were left behind when previously generating diffs for properties that are on generated groups. Diff: https://gist.github.com/nainar/7ee584319877b3da59a04b80a1690908/revisions BUG=710938 Review-Url: https://codereview.chromium.org/2889353002 Cr-Commit-Position: refs/heads/master@{#474227} Committed: https://chromium.googlesource.com/chromium/src/+/dd5069631f086ea22e7c43d9a1f85b0a83fc87df

Patch Set 1 #

Patch Set 2 : Only check not inherited fields and fix fonts #

Total comments: 2

Patch Set 3 : Moved GetPosition() to ScrollAnchorDisablingPropertyChanged() #

Total comments: 9

Patch Set 4 : alancutter@ suggestions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -43 lines) Patch
M third_party/WebKit/Source/build/scripts/make_computed_style_base.py View 1 2 3 1 chunk +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 View 1 2 3 chunks +97 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 5 chunks +6 lines, -34 lines 0 comments Download

Messages

Total messages: 31 (20 generated)
nainar
shend@, PTAL? Thanks!
3 years, 7 months ago (2017-05-22 00:41:52 UTC) #5
shend
https://codereview.chromium.org/2889353002/diff/20001/third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 File third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 (right): https://codereview.chromium.org/2889353002/diff/20001/third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5#newcode53 third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5:53: { These should be in DiffNeedsFullLayoutAndPaintInvalidation I think.
3 years, 7 months ago (2017-05-22 02:48:24 UTC) #8
nainar
shend@, Made the changes. PTAL? Thanks! https://codereview.chromium.org/2889353002/diff/20001/third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 File third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 (right): https://codereview.chromium.org/2889353002/diff/20001/third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5#newcode53 third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5:53: { On 2017/05/22 ...
3 years, 7 months ago (2017-05-22 03:12:36 UTC) #11
shend
lgtm
3 years, 7 months ago (2017-05-22 03:20:57 UTC) #13
nainar
alancutter@, PTAL? Thanks!
3 years, 7 months ago (2017-05-22 03:22:35 UTC) #15
alancutter (OOO until 2018)
https://codereview.chromium.org/2889353002/diff/40001/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/2889353002/diff/40001/third_party/WebKit/Source/build/scripts/make_computed_style_base.py#newcode210 third_party/WebKit/Source/build/scripts/make_computed_style_base.py:210: if field.is_property: I don't fully understand this. You add ...
3 years, 7 months ago (2017-05-24 03:31:17 UTC) #18
nainar
alancutter@ responded to your comments. https://codereview.chromium.org/2889353002/diff/40001/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/2889353002/diff/40001/third_party/WebKit/Source/build/scripts/make_computed_style_base.py#newcode210 third_party/WebKit/Source/build/scripts/make_computed_style_base.py:210: if field.is_property: On 2017/05/24 ...
3 years, 7 months ago (2017-05-24 06:07:21 UTC) #19
alancutter (OOO until 2018)
lgtm https://codereview.chromium.org/2889353002/diff/40001/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/2889353002/diff/40001/third_party/WebKit/Source/build/scripts/make_computed_style_base.py#newcode210 third_party/WebKit/Source/build/scripts/make_computed_style_base.py:210: if field.is_property: On 2017/05/24 at 06:07:21, nainar wrote: ...
3 years, 7 months ago (2017-05-24 07:25:36 UTC) #20
nainar
alancutter@, Made the changes you asked for. https://codereview.chromium.org/2889353002/diff/40001/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/2889353002/diff/40001/third_party/WebKit/Source/build/scripts/make_computed_style_base.py#newcode210 third_party/WebKit/Source/build/scripts/make_computed_style_base.py:210: if field.is_property: ...
3 years, 7 months ago (2017-05-24 07:42:14 UTC) #23
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/2889353002/60001
3 years, 7 months ago (2017-05-24 09:43:29 UTC) #28
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 09:47:03 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/dd5069631f086ea22e7c43d9a1f8...

Powered by Google App Engine
This is Rietveld 408576698