Re: [css-break] display:contents and break-before/after

On 02/19/2016 02:15 PM, Tab Atkins Jr. wrote:
> On Fri, Feb 19, 2016 at 10:59 AM, Francois Remy <frremy@microsoft.com> wrote:
>> Could we please define in the spec how {    display: contents;
>> break-before: abc;    break-after: cde;    } works? Or it is defined and I
>> just happened to miss that?
>>
>> Currently it looks like it works in Firefox.
>
> Define "works"?
>
> Anyway, even if the element doesnt' generate a box, it can still
> create breakpoints before/after the place where it *would* have been.

Exactly what that means would have to be defined. If you 'display: contents'
on a child of a grid, and then position its children into various random
slots, where in the grid is the break?

If we want this behavior, it needs to be explicitly specified what happens.
E.g. we could spec that the break gets propagated to its first child/last
child.

~fantasai

Received on Tuesday, 23 February 2016 02:40:40 UTC