<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:pguerrant@gmail.com" title="Phil <pguerrant@gmail.com>"> <span class="fn">Phil</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - 100% height doesn't work within a flex item in a flexbox"
href="https://bugs.webkit.org/show_bug.cgi?id=137730">bug 137730</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>pguerrant@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - 100% height doesn't work within a flex item in a flexbox"
href="https://bugs.webkit.org/show_bug.cgi?id=137730#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - 100% height doesn't work within a flex item in a flexbox"
href="https://bugs.webkit.org/show_bug.cgi?id=137730">bug 137730</a>
from <span class="vcard"><a class="email" href="mailto:pguerrant@gmail.com" title="Phil <pguerrant@gmail.com>"> <span class="fn">Phil</span></a>
</span></b>
<pre>Bump! Would be awesome if this was fixed soon. As a developer of a major JavaScript framework, my users need to be able to specify percentage sizes on the elements that they put inside our flexbox-based layouts, without having to resort to using JS-based layouts or other hacks. All other major browsers support percentage size children in flexbox layouts just fine - safari is the only one holding us back.
(In reply to <a href="show_bug.cgi?id=137730#c13">comment #13</a>)
<span class="quote">> This bug is still present in Chrome v55!!</span >
Actually if you remove the flex-basis of "auto" from the fiddle (just use "flex: 1 1"), you'll see that the percentage size works in Chrome. This is a bug in Chrome -it behaves differently when flex-basis is explicitly set to "auto", even though "auto" is the default. See <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=680484">https://bugs.chromium.org/p/chromium/issues/detail?id=680484</a>
Bottom line - there is a way to achieve the correct result in Chrome by omitting "flex-basis: auto" from the flex declaration, but there is currently no way to make Safari behave correctly.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>