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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 10 Feb 2015 23:42:24 -0500
Message-ID: <54DADDB0.50705@inkedblade.net>
To: www-style@w3.org
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
Received on Wednesday, 11 February 2015 04:43:08 UTC

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