<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:philip&#64;philipwalton.com" title="Philip Walton &lt;philip&#64;philipwalton.com&gt;"> <span class="fn">Philip Walton</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Safari (WebKit) doesn't wrap element within flex when width comes below min-width"
   href="https://bugs.webkit.org/show_bug.cgi?id=136041">bug 136041</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>
               &nbsp;
           </td>
           <td>philip&#64;philipwalton.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Safari (WebKit) doesn't wrap element within flex when width comes below min-width"
   href="https://bugs.webkit.org/show_bug.cgi?id=136041#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Safari (WebKit) doesn't wrap element within flex when width comes below min-width"
   href="https://bugs.webkit.org/show_bug.cgi?id=136041">bug 136041</a>
              from <span class="vcard"><a class="email" href="mailto:philip&#64;philipwalton.com" title="Philip Walton &lt;philip&#64;philipwalton.com&gt;"> <span class="fn">Philip Walton</span></a>
</span></b>
        <pre>I've added this bug to the Flexbugs list I maintain:
<a href="https://github.com/philipwalton/flexbugs#11-min-and-max-size-declarations-are-ignored-when-wrapping-flex-items">https://github.com/philipwalton/flexbugs#11-min-and-max-size-declarations-are-ignored-when-wrapping-flex-items</a>

I'll copy the bug and description here to make it easier to reference:

## Min and max size declarations are ignored in Safari when wrapping flex items

Bug: <a href="http://codepen.io/anon/pen/BNrGwN">http://codepen.io/anon/pen/BNrGwN</a>
Workaround: <a href="http://codepen.io/anon/pen/RPMqjz">http://codepen.io/anon/pen/RPMqjz</a>

Safari uses min/max width/height declarations for actually rendering the size of flex items, but it ignores those values when calculating how many items should be on a single line of a multi-line flex container. Instead, it simply uses the item's `flex-basis` value, or its width if the flex basis is set to `auto`.

This is problematic when using the `flex: 1` shorthand because that sets the flex basis to `0%`, and an infinite number of flex items could fit on a single line if the browser thinks their widths are all zero. The bug above (<a href="http://codepen.io/philipwalton/pen/BNrGwN">http://codepen.io/philipwalton/pen/BNrGwN</a>) show an example of this happening.

This is also problematic when creating fluid layouts where you want your flex items to be no bigger than X but no smaller than Y. Since Safari ignores those values when determining how many items fit on a line, that strategy won't work.</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>