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

Issue 2880573002: Store border-*-style on SurroundData in ComputedStyle (Closed)

Created:
3 years, 7 months ago by nainar
Modified:
3 years, 7 months ago
Reviewers:
meade_UTC10, shend
CC:
darktears, apavlov+blink_chromium.org, atotic+reviews_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-style_chromium.org, cbiesinger, chromium-reviews, dglazkov+blink, dgrogan+ng_chromium.org, dshwang, eae+blinkwatch, glebl+reviews_chromium.org, jchaffraix+rendering, leviw+renderwatch, ojan+watch_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Store border-*-style on SurroundData in ComputedStyle This patch moves the storage of border-*-style away from BorderStyle. We instead store them on the generated SurroundData group on ComputedStyle instead. We generate a BorderValue to pass to Layout in ComputedStyle from all the border information stored there. Diff: https://gist.github.com/nainar/fd091fc658aebc3f5676f16e545e975a/revisions BUG=628043 Review-Url: https://codereview.chromium.org/2880573002 Cr-Commit-Position: refs/heads/master@{#472999} Committed: https://chromium.googlesource.com/chromium/src/+/b72ebe3be808b64ca15ebff036511450b4a8fcff

Patch Set 1 #

Patch Set 2 : Store border-*-style on SurroundData in ComputedStyle not BorderStyle #

Patch Set 3 : Store border-*-style on SurroundData in ComputedStyle not BorderStyle #

Patch Set 4 : Store border-*-style on SurroundData in ComputedStyle not BorderStyle #

Total comments: 1

Patch Set 5 : Store border-*-style on SurroundData #

Patch Set 6 : Store border-*-style on SurroundData #

Total comments: 6

Patch Set 7 : shend@'s suggestions #

Patch Set 8 : Merge branch 'enumClass' into borderStyle #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -208 lines) Patch
M third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h View 1 2 3 4 5 6 1 chunk +1 line, -38 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.json5 View 1 2 3 4 5 6 5 chunks +17 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp View 1 1 chunk +3 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp View 1 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/BorderData.h View 3 chunks +2 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/core/style/BorderValue.h View 1 2 3 4 5 6 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/CachedUAStyle.h View 1 3 chunks +31 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 3 4 5 6 9 chunks +121 lines, -92 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 2 3 4 1 chunk +0 lines, -16 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 54 (42 generated)
nainar
Can you take a first pass please? Thank you! Sorry for the ginormous CL.
3 years, 7 months ago (2017-05-16 04:46:03 UTC) #5
shend
Sorry but could you split this into two patches: 1. Make BorderStyle an enum class. ...
3 years, 7 months ago (2017-05-17 06:49:51 UTC) #15
nainar
shend@, Split the CLs. PTAL?
3 years, 7 months ago (2017-05-17 08:49:20 UTC) #19
shend
https://codereview.chromium.org/2880573002/diff/100001/third_party/WebKit/Source/core/style/BorderValue.h File third_party/WebKit/Source/core/style/BorderValue.h (left): https://codereview.chromium.org/2880573002/diff/100001/third_party/WebKit/Source/core/style/BorderValue.h#oldcode52 third_party/WebKit/Source/core/style/BorderValue.h:52: SetIsAuto(data.IsAuto()); Was this deletion intentional? https://codereview.chromium.org/2880573002/diff/100001/third_party/WebKit/Source/core/style/ComputedStyle.h File third_party/WebKit/Source/core/style/ComputedStyle.h (right): ...
3 years, 7 months ago (2017-05-17 22:18:34 UTC) #27
nainar
shend@, Made the suggestions you asked for, PTAL? Thanks! https://codereview.chromium.org/2880573002/diff/100001/third_party/WebKit/Source/core/style/BorderValue.h File third_party/WebKit/Source/core/style/BorderValue.h (left): https://codereview.chromium.org/2880573002/diff/100001/third_party/WebKit/Source/core/style/BorderValue.h#oldcode52 third_party/WebKit/Source/core/style/BorderValue.h:52: ...
3 years, 7 months ago (2017-05-18 01:58:35 UTC) #29
shend
lgtm
3 years, 7 months ago (2017-05-18 02:59:28 UTC) #33
nainar
meade@, PTAL? Thanks!
3 years, 7 months ago (2017-05-18 03:07:21 UTC) #35
meade_UTC10
lgtm
3 years, 7 months ago (2017-05-18 03:32:08 UTC) #36
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/2880573002/140001
3 years, 7 months ago (2017-05-18 09:58:01 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/4554)
3 years, 7 months ago (2017-05-18 11:42:47 UTC) #48
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/2880573002/140001
3 years, 7 months ago (2017-05-19 00:46:35 UTC) #51
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 00:53:26 UTC) #54
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/b72ebe3be808b64ca15ebff03651...

Powered by Google App Engine
This is Rietveld 408576698