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

Issue 2616613003: Fix calculation of abspos style properties: left/padding/width/height... (Closed)

Created:
3 years, 11 months ago by atotic
Modified:
3 years, 11 months ago
Reviewers:
cbiesinger
CC:
atotic+reviews_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, glebl+reviews_chromium.org, jchaffraix+rendering, leviw+renderwatch, ojan+watch_chromium.org, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixes calculation of abspos style properties: left/padding/width/height... Replaced NGSizeIndefinite with Optional<LayoutUnit> Fixed a couple of minor bugs where AvailableSize was incorrect. Passing ~30 more tests. BUG=635619 Review-Url: https://codereview.chromium.org/2616613003 Cr-Commit-Position: refs/heads/master@{#441881} Committed: https://chromium.googlesource.com/chromium/src/+/49b2b8a8727853391ce1f38de8044cfd4678ed1f

Patch Set 1 #

Total comments: 6

Patch Set 2 : CR fixes #

Patch Set 3 : Reduce TestExpectations #

Patch Set 4 : Rebase for merge conflicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -211 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 5 chunks +2 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc View 1 7 chunks +189 lines, -162 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc View 4 chunks +13 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc View 1 2 3 4 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
atotic
ptal. This is the (hopefully) last large abspos CR. It bring computation of left/width/margins/padding... to ...
3 years, 11 months ago (2017-01-05 01:20:38 UTC) #3
atotic
On 2017/01/05 at 01:20:38, atotic wrote: > ptal. This is the (hopefully) last large abspos ...
3 years, 11 months ago (2017-01-05 05:36:58 UTC) #4
cbiesinger
> Do you think it is better to review the patch now as is Yes ...
3 years, 11 months ago (2017-01-05 16:48:23 UTC) #5
atotic
2 bugs fixed, got one long question: https://codereview.chromium.org/2616613003/diff/1/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc File third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc (right): https://codereview.chromium.org/2616613003/diff/1/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc#newcode42 third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc:42: valueForLength(style.paddingLeft(), percentage_logical.block_size); ...
3 years, 11 months ago (2017-01-05 19:03:26 UTC) #6
cbiesinger
On 2017/01/05 19:03:26, atotic wrote: > 2 bugs fixed, got one long question: > > ...
3 years, 11 months ago (2017-01-05 19:10:20 UTC) #7
atotic
ptal padding: block_size => inline has changed.
3 years, 11 months ago (2017-01-05 19:25:59 UTC) #8
cbiesinger
lgtm
3 years, 11 months ago (2017-01-05 19:27:54 UTC) #9
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/2616613003/20001
3 years, 11 months ago (2017-01-05 19:31:15 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/358487)
3 years, 11 months ago (2017-01-05 21:25:47 UTC) #13
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/2616613003/40001
3 years, 11 months ago (2017-01-05 23:57:31 UTC) #16
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-06 02:14:49 UTC) #18
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/2616613003/60001
3 years, 11 months ago (2017-01-06 04:03:38 UTC) #21
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 05:29:17 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/49b2b8a8727853391ce1f38de804...

Powered by Google App Engine
This is Rietveld 408576698