Re: [css-break] avoid-* conflicts

On 05/17/2015 03:24 PM, fantasai wrote:
>
> Ah, you're running into a cascading problem here. The second rule
> overrides the first, so we're only avoiding page breaks here.
>
> Probably what you want is this additional rule:
>    .samecolumn.samepage { break-inside: avoid-column avoid-page; }
>
> It might make sense to allow multiple values here. I'll bring it
> up with the WG; we'll either accept it now, or defer to the next
> level. (I don't see any problems with it, but it is a feature
> request, and we're more-or-less feature-frozen atm.)
>
> Wrt use cases, simply saying 'break-inside: avoid' should do in
> most cases.
>      .samecolumn.samepage { break-inside: avoid; }

To follow up on this...
Because break-inside: avoid handles most of the use cases
for combining values, we're deferring this until there's
a demand for combinations that aren't handled by 'auto'.

https://lists.w3.org/Archives/Public/www-style/2015May/0279.html

~fantasai

Received on Thursday, 16 July 2015 18:44:36 UTC