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

Issue 2645863005: Fix how we constrain width/height by min/max (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, cbiesinger, chromium-reviews, dgrogan+ng_chromium.org, 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

Fix how we constrain width/height by min/max According to the spec: - if min/max change the computed length, the algorithm should run again with length being the clamped length value. This also fixes a single failing test. BUG=635619 Review-Url: https://codereview.chromium.org/2645863005 Cr-Commit-Position: refs/heads/master@{#445267} Committed: https://chromium.googlesource.com/chromium/src/+/0e7df9ebd6385e1f02a328f864c8bff48eb5cbeb

Patch Set 1 #

Total comments: 2

Patch Set 2 : CR fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -50 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc View 1 14 chunks +73 lines, -47 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 11 (6 generated)
atotic
ptal
3 years, 11 months ago (2017-01-20 23:57:29 UTC) #2
cbiesinger
lgtm https://codereview.chromium.org/2645863005/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/2645863005/diff/1/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc#newcode200 third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc:200: ComputeAbsoluteHorizontal(space, style, width, static_position, Can you add a ...
3 years, 11 months ago (2017-01-21 00:03:30 UTC) #4
atotic
https://codereview.chromium.org/2645863005/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/2645863005/diff/1/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc#newcode200 third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc:200: ComputeAbsoluteHorizontal(space, style, width, static_position, On 2017/01/21 at 00:03:30, cbiesinger ...
3 years, 11 months ago (2017-01-21 00:09:01 UTC) #7
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/2645863005/20001
3 years, 11 months ago (2017-01-21 00:09:14 UTC) #8
commit-bot: I haz the power
3 years, 11 months ago (2017-01-21 03:42:17 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0e7df9ebd6385e1f02a328f864c8...

Powered by Google App Engine
This is Rietveld 408576698