W3C home > Mailing lists > Public > www-style@w3.org > February 2011

Re: [css3-flexbox] Flexbox needs to define where the baseline of a box is

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 18 Feb 2011 13:29:05 -0800
Message-ID: <AANLkTimj2rWRycH5sEkwsgSX8A2MbvLeFuexuFTOy7oQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>, Alex Mogilevsky <alexmog@microsoft.com>
On Fri, Feb 18, 2011 at 1:26 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 2/18/11 3:59 PM, Tab Atkins Jr. wrote:
>> It turns out that I misread what Boris was asking about here.  He was
>> specifically interested in the baseline in this case:
>>
>> <div style="display:flexbox;"></div>
>>
>> The baseline is well-defined if the flexbox contains something, even a
>> single space, but when it's completely empty it's not.
>
> Well....  That depends on whether whitespace trimming happens before or
> after baseline determination, right?
>
> I believe in gecko it happens before, so no matter how many spaces you stick
> in there the baseline is the same as if it were empty...  What about in
> other UAs?
>
> But yes, this is what we need to define.  I'm ok with putting the baseline
> at the after outer edge, I think.

I need more grounding on exactly what the whitespace trimming rules
are.  I know we magically get rid of "non-significant whitespace";
where is that defined?

~TJ
Received on Friday, 18 February 2011 21:30:02 GMT

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