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

Re: [css-flexbox] Allow specifying when wrapping should happen

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 11 Feb 2015 16:53:16 +1100
Message-ID: <CAAWBYDDEbpqHmbPGxJVmNCPco7mbgJ0hOkHvOgGQ7UGQkLKWgg@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style list <www-style@w3.org>
On Wed, Feb 11, 2015 at 3:42 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> On 01/19/2015 10:18 PM, fantasai wrote:
>>
>> On 01/18/2015 12:11 PM, Daniel Holbert wrote:
>>>
>>> I think the "page-break-before" property should already provide this
>>> behavior, as described here:
>>>   http://dev.w3.org/csswg/css-flexbox-1/#algo-line-break
>>
>>
>> Actually, this seems to be a point where the spec conflicts with itself.
>> Or at least, it's not very clear what happens on row flexboxes.
>> Compare that to this:
>>    http://dev.w3.org/csswg/css-flexbox-1/#pagination
>
>
> So, I've been thinking about this, and I think we should resolve
> this conflict in favor of the Pagination section, because that's
> what we'll have to do for Grid Layout.
>
> In Grid Layout, if you set page-break-before on an item, it
> will have to push the whole row because there's no such thing
> as wrapping.
>
> (Obviously we'd thought this through before, when we were writing
> the Pagination section, but I couldn't remember the logic.)
>
> I'll clarify the spec.

fantasai discussed this with me, and I agree.

~TJ
Received on Wednesday, 11 February 2015 05:54:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:01 UTC