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

On 02/23/2016 11:41 AM, Francois Remy wrote:
>> 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.
>
> LGTM

Well, okay, but imho this isn't sufficiently useful to justify
the implementation complexity. A box with 'display: contents'
doesn't actually exit, so unless we define special behavior for
it, no other properties can apply to it.

~fantasai

Received on Monday, 29 February 2016 05:44:36 UTC