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

Issue 2933303002: Generate diffs for all fields on StyleRareNonInheritedData (Closed)

Created:
3 years, 6 months ago by nainar
Modified:
3 years, 6 months ago
Reviewers:
shend
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 all fields on StyleRareNonInheritedData This patch generates diffs for all fields directly stored on StyleRareNonInheritedData. A future patch will generate diffs for the groups stored on StyleRareNonInheritedDatat and fields stored on those groups. Please note to acheive this some tests had to be turned into functions so that they could be tested as predicates. Diff: https://gist.github.com/nainar/024af3fe4f7e834f0342c4000aaaa57f/revisions BUG=710938 Review-Url: https://codereview.chromium.org/2933303002 Cr-Commit-Position: refs/heads/master@{#479313} Committed: https://chromium.googlesource.com/chromium/src/+/c4efddc762cbbfb2bce13cfcb49a1e9a589de079

Patch Set 1 #

Total comments: 10

Patch Set 2 : shend@ suggestions #

Total comments: 6

Patch Set 3 : nits #

Patch Set 4 : fix failing tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -159 lines) Patch
M third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 View 1 2 3 6 chunks +134 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 3 3 chunks +51 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 7 chunks +15 lines, -152 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (17 generated)
nainar
shend@, PTAL? Thanks!
3 years, 6 months ago (2017-06-13 07:40:20 UTC) #2
nainar
https://codereview.chromium.org/2933303002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2933303002/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode593 third_party/WebKit/Source/core/style/ComputedStyle.cpp:593: // We only need do layout for opacity changes ...
3 years, 6 months ago (2017-06-13 07:55:42 UTC) #3
shend
https://codereview.chromium.org/2933303002/diff/1/third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 File third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 (right): https://codereview.chromium.org/2933303002/diff/1/third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5#newcode194 third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5:194: "max-height", "VerticalAlignLength", "box-sizing", "align-content", nit: indent these so that ...
3 years, 6 months ago (2017-06-13 08:15:53 UTC) #4
nainar
shend@, PTAL? Thanks! https://codereview.chromium.org/2933303002/diff/1/third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 File third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5 (right): https://codereview.chromium.org/2933303002/diff/1/third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5#newcode194 third_party/WebKit/Source/core/css/ComputedStyleDiffFunctions.json5:194: "max-height", "VerticalAlignLength", "box-sizing", "align-content", On 2017/06/13 ...
3 years, 6 months ago (2017-06-14 00:29:52 UTC) #7
shend
lgtm with nits. https://codereview.chromium.org/2933303002/diff/20001/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2933303002/diff/20001/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode637 third_party/WebKit/Source/core/style/ComputedStyle.cpp:637: return true; nit: Could just be ...
3 years, 6 months ago (2017-06-14 00:33:35 UTC) #8
nainar
Published a new CL. Weh I took out code into the predicates I didnt flip ...
3 years, 6 months ago (2017-06-14 05:11:19 UTC) #17
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/2933303002/60001
3 years, 6 months ago (2017-06-14 07:08:35 UTC) #22
commit-bot: I haz the power
3 years, 6 months ago (2017-06-14 07:13:35 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c4efddc762cbbfb2bce13cfcb49a...

Powered by Google App Engine
This is Rietveld 408576698