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

Issue 1633683002: Drop contradictory condition in min-width clamping (Closed)

Created:
4 years, 10 months ago by davve
Modified:
4 years, 10 months ago
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Drop contradictory condition in min-width clamping isMaxSizeNone() is nonsensical for min-width. Zero (but represented as Auto) is initial Length value for min-width, not MaxSizeNone. This stands out after the rename from isUndefined() to isMaxSizeNone(). But in this case it seems |style()->logicalMinWidth().isMaxSizeNone()| was a just long alias for |false| so remove it. Committed: https://crrev.com/99a0ad7eeaa0d05f7e7973f74536a5a9cdf9a730 Cr-Commit-Position: refs/heads/master@{#371494}

Patch Set 1 #

Patch Set 2 : min-width:0 (represented as auto) has special code; hit it. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1633683002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1633683002/1
4 years, 10 months ago (2016-01-25 16:52:03 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/163833)
4 years, 10 months ago (2016-01-25 17:54:07 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1633683002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1633683002/20001
4 years, 10 months ago (2016-01-26 10:06:44 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-26 11:46:21 UTC) #9
davve
PTAL.
4 years, 10 months ago (2016-01-26 11:56:21 UTC) #11
mstensho (USE GERRIT)
lgtm
4 years, 10 months ago (2016-01-26 12:09:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1633683002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1633683002/20001
4 years, 10 months ago (2016-01-26 12:29:18 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-01-26 12:33:33 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-01-26 12:34:46 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/99a0ad7eeaa0d05f7e7973f74536a5a9cdf9a730
Cr-Commit-Position: refs/heads/master@{#371494}

Powered by Google App Engine
This is Rietveld 408576698