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

Issue 2683793007: Keep the aspect ratio of child with percentage max-height when the size of its container changes (Closed)

Created:
3 years, 10 months ago by Gleb Lanbin
Modified:
3 years, 10 months ago
Reviewers:
cbiesinger
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Keep the aspect ratio of child with percentage max-height when the size of its container changes BUG=677942 TEST=fast/replaced/aspect-ratio-of-replaced-child-with-max-height.html Review-Url: https://codereview.chromium.org/2683793007 Cr-Commit-Position: refs/heads/master@{#450145} Committed: https://chromium.googlesource.com/chromium/src/+/6da27d806a2386ab7baacf5692727ffa0a7706ca

Patch Set 1 #

Patch Set 2 : Updated LayoutReplaced::needsPreferredWidthsRecalculation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/fast/replaced/aspect-ratio-of-replaced-child-with-max-height.html View 1 1 chunk +35 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/replaced/aspect-ratio-of-replaced-child-with-max-height-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutReplaced.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 25 (21 generated)
Gleb Lanbin
3 years, 10 months ago (2017-02-09 22:41:11 UTC) #5
cbiesinger
lgtm I don't think it would be sufficient to expand the !hasAuto...() check to also ...
3 years, 10 months ago (2017-02-13 19:37:18 UTC) #12
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/2683793007/60001
3 years, 10 months ago (2017-02-13 23:05:27 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 23:19:34 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/6da27d806a2386ab7baacf569272...

Powered by Google App Engine
This is Rietveld 408576698