W3C home > Mailing lists > Public > www-style@w3.org > August 2014

[css-flexbox] percentage heights of flex item descendants

From: Christian Biesinger <cbiesinger@google.com>
Date: Tue, 19 Aug 2014 16:46:34 -0700
Message-ID: <CAPTJ0XEK_MPoppWJ65P-pQFYw8OO8XoCLcFCVCQwgdxOtgT_ig@mail.gmail.com>
To: www-style list <www-style@w3.org>
Cc: Ojan Vafai <ojan@chromium.org>
Hello,

so I saw that the flex box spec requires that a descendant of a flex item
with percentage height gets resolved against the flex item's actual height:
http://dev.w3.org/csswg/css-flexbox/#algo-stretch

I was wondering why that is? This is inconsistent with every other use of
percentages, and requires multi-pass layout (ie. is slow).

thanks,
-christian
Received on Tuesday, 19 August 2014 23:47:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:45 UTC