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

Issue 2969433002: [LayoutNG] Add min/max-{width,height} to instrinics check for abs-pos (Closed)

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

Description

LayoutNG] Add min/max-{width,height} to instrinics check for abs-pos Fixes failures for: fast/css-intrinsic-dimensions/intrinsic-sized-absolutes.html fast/css-intrinsic-dimensions/intrinsic-sized-replaced-absolutes.html E.g. when min-width etc, are set to an intrinsic. <iframe style="min-width: min-content;'></iframe> See: https://storage.googleapis.com/chromium-layout-test-archives/linux_layout_tests_layout_ng/622/layout-test-results/results.html BUG=635619 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng Review-Url: https://codereview.chromium.org/2969433002 Cr-Commit-Position: refs/heads/master@{#483882} Committed: https://chromium.googlesource.com/chromium/src/+/8264d60e9d2885b2cd657afff45be608c64d7410

Patch Set 1 #

Total comments: 2

Patch Set 2 : something different? #

Total comments: 3

Patch Set 3 : spelling. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -8 lines) Patch
M third_party/WebKit/Source/core/layout/ng/ng_length_utils.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc View 1 2 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 28 (15 generated)
ianjkilpatrick
3 years, 5 months ago (2017-06-29 15:59:22 UTC) #5
ianjkilpatrick
3 years, 5 months ago (2017-06-29 15:59:53 UTC) #6
ikilpatrick
gah wrong account...
3 years, 5 months ago (2017-06-29 18:12:38 UTC) #10
cbiesinger
https://codereview.chromium.org/2969433002/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/2969433002/diff/1/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc#newcode18 third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc:18: return style.MinWidth().IsIntrinsic() || style.MaxWidth().IsIntrinsic() || Why does that work? ...
3 years, 5 months ago (2017-06-29 20:40:01 UTC) #11
ikilpatrick
https://codereview.chromium.org/2969433002/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/2969433002/diff/1/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc#newcode18 third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc:18: return style.MinWidth().IsIntrinsic() || style.MaxWidth().IsIntrinsic() || On 2017/06/29 20:40:01, cbiesinger ...
3 years, 5 months ago (2017-06-29 22:45:07 UTC) #13
cbiesinger
lgtm. I think I previously misread your patch :( This looks good though. https://codereview.chromium.org/2969433002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc File ...
3 years, 5 months ago (2017-06-30 22:34:38 UTC) #18
ikilpatrick
https://codereview.chromium.org/2969433002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc File third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc (right): https://codereview.chromium.org/2969433002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc#newcode25 third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc:25: return constraint_space.IsShrinkToFit() || NeedMinMaxContentSize(style); On 2017/06/30 22:34:38, cbiesinger wrote: ...
3 years, 5 months ago (2017-06-30 22:58:50 UTC) #19
ikilpatrick
3 years, 5 months ago (2017-06-30 22:58:52 UTC) #20
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/2969433002/40001
3 years, 5 months ago (2017-06-30 22:59:43 UTC) #22
cbiesinger
On Jun 30, 2017 18:58, <ikilpatrick@chromium.org> wrote: https://codereview.chromium.org/2969433002/diff/20001/ third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc File third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc (right): https://codereview.chromium.org/2969433002/diff/20001/ third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc#newcode25 third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc:25: ...
3 years, 5 months ago (2017-06-30 23:06:58 UTC) #23
cbiesinger
On Jun 30, 2017 18:58, <ikilpatrick@chromium.org> wrote: https://codereview.chromium.org/2969433002/diff/20001/ third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc File third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc (right): https://codereview.chromium.org/2969433002/diff/20001/ third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc#newcode25 third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc:25: ...
3 years, 5 months ago (2017-06-30 23:06:59 UTC) #24
ikilpatrick
On 2017/06/30 23:06:59, cbiesinger wrote: > On Jun 30, 2017 18:58, <mailto:ikilpatrick@chromium.org> wrote: > > ...
3 years, 5 months ago (2017-06-30 23:21:38 UTC) #25
commit-bot: I haz the power
3 years, 5 months ago (2017-07-01 00:58:30 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8264d60e9d2885b2cd657afff45b...

Powered by Google App Engine
This is Rietveld 408576698