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

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

From: Francois Remy <frremy@microsoft.com>
Date: Tue, 23 Feb 2016 16:41:13 +0000
To: fantasai <fantasai.lists@inkedblade.net>, Tab Atkins Jr. <jackalmage@gmail.com>
CC: CSS WG <www-style@w3.org>
Message-ID: <BN3PR0301MB0883180DDFB5B2BFD478A63AD6A40@BN3PR0301MB0883.namprd03.prod.outlook.com>
> 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

LGTM
Received on Tuesday, 23 February 2016 16:41:44 UTC

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