W3C home > Mailing lists > Public > www-style@w3.org > March 2016

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 2 Mar 2016 15:41:12 -0500
To: Francois Remy <frremy@microsoft.com>, "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: CSS WG <www-style@w3.org>
Message-ID: <56D74FE8.3000509@inkedblade.net>
On 03/01/2016 02:30 PM, Francois Remy wrote:
>>>> 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.
>
> Well, it looks like in Firefox something along those lines applies already,
> and they are the only browser implementing the feature at this point, so
> it looks like this was the easiest way to go for them at least.

Definitely not. Firefox's implementation of forced breaks is severely messed up,
which has all kinds of weird consequences, this presumably being one of them. It
will get ripped out and replaced with something architecturally sane, at which
point the current behavior will certainly not be the easiest way to go.

~fantasai
Received on Wednesday, 2 March 2016 20:41:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:01 UTC