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

Issue 547673002: Move resolveAlignment logic to RenderStyle (Closed)

Created:
6 years, 3 months ago by Sunil Ratnu
Modified:
6 years, 2 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-rendering, cbiesinger, dglazkov+blink, eae+blinkwatch, ed+blinkwatch_opera.com, jchaffraix+rendering, leviw+renderwatch, pdr., Manuel Rego, rwlbuis, rune+blink, svillar, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Move resolveAlignment logic to RenderStyle This CL moves resolveAlignment logic to RenderStyle as this seems more appropriate place for this code. Also, the same logic is being duplicated in both RenderGrid and RenderFlexible box, so it also gets rid of duplicated code. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183039

Patch Set 1 #

Total comments: 3

Patch Set 2 : Move to RenderStyle instead of StyleAdjuster #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -22 lines) Patch
M Source/core/rendering/RenderFlexibleBox.cpp View 1 2 4 chunks +4 lines, -11 lines 0 comments Download
M Source/core/rendering/RenderGrid.cpp View 1 2 2 chunks +2 lines, -11 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.cpp View 1 2 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (7 generated)
Sunil Ratnu
Please review this. Thanks!
6 years, 3 months ago (2014-09-05 16:16:12 UTC) #2
cbiesinger
6 years, 3 months ago (2014-09-05 16:46:37 UTC) #3
Sunil Ratnu
On 2014/09/05 16:46:37, cbiesinger wrote: Gentle ping! :)
6 years, 3 months ago (2014-09-06 12:44:27 UTC) #5
Sunil Ratnu
On 2014/09/06 12:44:27, Sunil Ratnu wrote: > On 2014/09/05 16:46:37, cbiesinger wrote: > > Gentle ...
6 years, 3 months ago (2014-09-09 01:49:21 UTC) #6
jfernandez
On 2014/09/09 01:49:21, Sunil Ratnu wrote: > On 2014/09/06 12:44:27, Sunil Ratnu wrote: > > ...
6 years, 3 months ago (2014-09-09 08:33:00 UTC) #7
Sunil Ratnu
On 2014/09/09 08:33:00, jfernandez wrote: > On 2014/09/09 01:49:21, Sunil Ratnu wrote: > > On ...
6 years, 3 months ago (2014-09-09 08:46:16 UTC) #8
esprehn
https://codereview.chromium.org/547673002/diff/1/Source/core/css/resolver/StyleAdjuster.cpp File Source/core/css/resolver/StyleAdjuster.cpp (right): https://codereview.chromium.org/547673002/diff/1/Source/core/css/resolver/StyleAdjuster.cpp#newcode160 Source/core/css/resolver/StyleAdjuster.cpp:160: align = (parentStyle->alignItems() == ItemPositionAuto) ? ItemPositionStretch : parentStyle->alignItems(); ...
6 years, 3 months ago (2014-09-09 10:10:51 UTC) #10
Sunil Ratnu
https://codereview.chromium.org/547673002/diff/1/Source/core/rendering/RenderGrid.cpp File Source/core/rendering/RenderGrid.cpp (right): https://codereview.chromium.org/547673002/diff/1/Source/core/rendering/RenderGrid.cpp#newcode1291 Source/core/rendering/RenderGrid.cpp:1291: ItemPosition alignSelf = StyleAdjuster::resolveAlignment(style(), child->style()); On 2014/09/09 10:10:51, esprehn ...
6 years, 3 months ago (2014-09-09 10:33:09 UTC) #11
esprehn
RenderStyle.h? To unsubscribe from this group and stop receiving emails from it, send an email ...
6 years, 3 months ago (2014-09-09 10:34:52 UTC) #12
Sunil Ratnu
On 2014/09/09 10:34:52, esprehn wrote: > RenderStyle.h? > > To unsubscribe from this group and ...
6 years, 3 months ago (2014-09-09 11:06:26 UTC) #13
Sunil Ratnu
Hi everyone, please do let me know your opinion on this. Thanks!
6 years, 3 months ago (2014-09-10 16:44:24 UTC) #15
Sunil Ratnu
Gentle ping!
6 years, 3 months ago (2014-09-24 15:31:43 UTC) #16
Sunil Ratnu
On 2014/09/24 15:31:43, Sunil Ratnu wrote: > Gentle ping! Gentle ping!
6 years, 2 months ago (2014-09-30 05:47:24 UTC) #17
Julien - ping for review
Based on esprehn's earlier review, lgtm
6 years, 2 months ago (2014-10-01 00:39:31 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/547673002/20001
6 years, 2 months ago (2014-10-01 00:41:09 UTC) #20
commit-bot: I haz the power
Failed to apply patch for Source/core/rendering/RenderFlexibleBox.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 2 months ago (2014-10-01 00:41:22 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/547673002/40001
6 years, 2 months ago (2014-10-01 06:22:06 UTC) #24
commit-bot: I haz the power
6 years, 2 months ago (2014-10-01 07:29:02 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 183039

Powered by Google App Engine
This is Rietveld 408576698