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

Re: [css3-sizing] fill-available in block direction and infinite size

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 01 Aug 2012 10:20:36 -0700
Message-ID: <50196564.6080004@inkedblade.net>
To: www-style@w3.org
On 08/01/2012 12:36 AM, François REMY wrote:
> Given the definition of available size:
>
>     *available size*
>         The space into which a box is laid out, typically either a measurement of its /containing block/ or an infinite size.
>
> and the definition of fill-available (extent):
>
>     *fill-available extent*
>         Roughly, the extent a box would take if it filled its /available extent/
>         <http://dev.w3.org/csswg/css3-sizing/#available-size>.
>
> I’m asking myself the question: what should be the size of a BODY whose height is set to fill-available? Infinite? How can we
> deal with this?
> I propose to modify the definition of available size to state something like:
>
>     *available size*
>         The space into which a box is laid out, typically either a measurement of its /containing block/ or of the /viewport
>         height/ if it is infinitely sized.
>
> As such, in the example I propose, BODY would have a 100vh height.
> What do you think of it?

The definition is marked "roughly" for a reason. :) The actual fill-available
height is defined in the section marked Extrinsic Sizing. In general, the
section up front is only rough definitions to give an idea of the concept,
because defining each term in full requires a section or three of prose.

~fantasai
Received on Wednesday, 1 August 2012 17:21:08 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT