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

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 UTC