- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Wed, 09 Oct 2013 23:22:25 -0700
- To: Mihai Balan <mibalan@adobe.com>
- CC: Mihnea-Vlad Ovidenie <mihnea@adobe.com>, "WWW Style (www-style@w3.org)" <www-style@w3.org>, Alan Stearns <stearns@adobe.com>
On 09/18/2013 03:10 AM, Mihai Balan wrote: > On 9/13/13 10:33 PM, "Mihnea-Vlad Ovidenie" <mihnea@adobe.com> wrote: > >> Hi, >> >> I have the following situation, in which an element has break-inside: >> avoid-region and one of its children elements has break-after:region. >> >> <div id="container" style="break-inside: avoid-region"> >> <div id="box1"></div> >> <div id="box2" style="break-after: region"></div> >> <div id="box3"></div> >> </div> >> >> Assume now that the #container element fits completely inside a region, >> which is not the last one in the region chain so that the region breaks >> are not ignored. In this case, how should fragmentation work? >> a) the break-after property defined on the second box is honored and the >> third box, #box3 is laid out in the following region >> b) the break-inside: avoid defined on #container takes precedence and all >> the 3 boxes are displayed in the same region >> >> Regards, >> Mihnea > > My reading of [1] is that break forcing controls take precedence over break > avoidance controls, thus leading to the scenario described in (a). Yes. > However, I do think some clarifications regarding this scenario are needed, > since they are hinted at in the beginning of section 3 [2]. > > [1] http://dev.w3.org/csswg/css-break/#unforced-breaks > [2] http://dev.w3.org/csswg/css-break/#breaking-controls > > Thoughts? Done. https://dvcs.w3.org/hg/csswg/diff/50017ce70e6a/css-break/Overview.src.html Let me know if that's sufficiently clear. :) ~fantasai
Received on Thursday, 10 October 2013 06:22:52 UTC