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

Issue 423133002: Ensure logical height is overridden for stretch-aligned flex-box children (Closed)

Created:
6 years, 4 months ago by fs
Modified:
6 years, 2 months ago
CC:
ojan, blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Ensure logical height is overridden for stretch-aligned flex-box children With an SVG in a flex-box context (as a flex-item), it's possible for a document-wide layout to clear the override-height, and then issue a partial (<svg> as layout-root) layout that recomputes the logical height to whatever the <svg> root thinks it should be - disregarding the flex-box context. To fix this, make sure that a stretch-aligned flex-item always has an override-height set, even if the logical height appear to be up-to-date. BUG=397085 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183293

Patch Set 1 #

Patch Set 2 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -1 line) Patch
A LayoutTests/fast/flexbox/stretch-align-svg.html View 1 chunk +36 lines, -0 lines 0 comments Download
A LayoutTests/fast/flexbox/stretch-align-svg-expected.html View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderFlexibleBox.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (2 generated)
fs
This feels a bit ugly, so likely there's a better way to achieve the same ...
6 years, 4 months ago (2014-07-31 14:29:56 UTC) #1
cbiesinger
Sorry, can you clarify which code clears the override height? I didn't think we normally ...
6 years, 4 months ago (2014-08-06 02:57:45 UTC) #2
fs
On 2014/08/06 02:57:45, cbiesinger wrote: > Sorry, can you clarify which code clears the override ...
6 years, 4 months ago (2014-08-21 16:08:19 UTC) #3
cbiesinger
lgtm Ojan, FYI, here's a case where a flex item is a layout root.
6 years, 4 months ago (2014-08-21 21:32:17 UTC) #4
cbiesinger
Note that https://codereview.chromium.org/331203002/ will also solve this bug, though the testcase is still good to ...
6 years, 3 months ago (2014-08-29 23:28:59 UTC) #5
fs
On 2014/08/29 23:28:59, cbiesinger wrote: > Note that https://codereview.chromium.org/331203002/ will also solve this bug, > ...
6 years, 3 months ago (2014-09-01 17:59:51 UTC) #6
fs
On 2014/09/01 17:59:51, fs wrote: > On 2014/08/29 23:28:59, cbiesinger wrote: > > Note that ...
6 years, 2 months ago (2014-10-06 16:37:50 UTC) #7
cbiesinger
On 2014/10/06 16:37:50, fs wrote: > On 2014/09/01 17:59:51, fs wrote: > > On 2014/08/29 ...
6 years, 2 months ago (2014-10-06 17:08:52 UTC) #8
ojan
lgtm
6 years, 2 months ago (2014-10-06 18:08:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/423133002/20001
6 years, 2 months ago (2014-10-06 18:09:02 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-10-07 01:04:06 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 183293

Powered by Google App Engine
This is Rietveld 408576698