- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 28 Aug 2012 13:52:33 -0700
- To: "Kang-Hao (Kenny) Lu" <kanghaol@oupeng.com>
- Cc: WWW Style <www-style@w3.org>
On Tue, Aug 14, 2012 at 9:06 PM, Kang-Hao (Kenny) Lu <kanghaol@oupeng.com> wrote: >> (12/06/16 21:01), Anton Prowse wrote: >> (Note that the same issue applies to other layout models such as >> flexbox.) > > This reminds me of that CSS21 + css3-flexbox is probably having a hole > in that it doesn't say how to calculate the 'width' of a 'inline-flex'. > I suppose > > changing > > # 10.3.9 'Inline-block', non-replaced elements in normal flow > > to > > | 10.3.9 atomic inline, non-replaced elements in normal flow > > in CSS 2.1 would be sufficient and forwards compatible. > > > Given the surprise I just had, I would suggest we expand the content of > 10.3.9 to be more clear by including > > | The available width is the width of the containing block minus the > | used values of 'margin-left', 'border-left-width', 'padding-left', > | 'padding-right', 'border-right-width', 'margin-right', and the > | widths of any relevant scroll bars. > | > | Note: this calculation disregards both the actual length of > | the linebox and the presence of other contents in the same line. > > at the end. We're pretty sure we agree, at least with the first part. Filed as <https://www.w3.org/Bugs/Public/show_bug.cgi?id=18724> ~TJ and fantasai
Received on Tuesday, 28 August 2012 20:53:21 UTC