- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 18 Feb 2011 17:08:51 -0800
- 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 5:00 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote: > On 2/18/11 5:38 PM, Tab Atkins Jr. wrote: >> >> I suspect you intend that rule 4.2 would remove that final space, >> assuming there is a space before the inline flexbox. > > Actually, it would be independent of whether there is a space before the > inline flexbox; I would think that an inline flexbox acts just like an > inline-block in this sense. Hmm, I don't see that. Assuming code like <div style="display:flexbox;"> </div> (two spaces), rule 1 doesn't apply (no linefeeds), rule 2 doesn't apply (wrong white-space), rule 3 doesn't apply (no linefeeds), rule 4.1 doesn't apply (everything's a space), and rule 4.2 removes the second space only. In the second group of rules, rule 1 would remove the space, but that doesn't happen until lines are laid out, which logically can't occur until the box tree has been constructed. So an anonymous block has already been wrapped around the remaining space, and it's the block's job to report its own baseline, not the flexbox's. This is presumably already defined. ~TJ
Received on Saturday, 19 February 2011 01:09:43 UTC