W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: [css-overflow] pathological fragment box generation

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 08 Apr 2013 12:45:35 -0700
Message-ID: <51631E5F.2060207@inkedblade.net>
To: www-style@w3.org
On 04/04/2013 08:51 PM, Robert O'Callahan wrote:
> On Fri, Apr 5, 2013 at 4:36 PM, Alan Stearns <stearns@adobe.com <mailto:stearns@adobe.com>> wrote:
>
>     There will be some cases where overflow:fragments will generate fragment
>     boxes that can not fit any content fragment, and pathological cases where
>     box generation could enter an infinite loop, like this:
>
>     <style>
>        .too-big {
>          height: 100px;
>        }
>        .too-small {
>          height: 50px;
>          overflow: fragments;
>        }
>     </style>
>     <div class="too-small">
>        <div class="too-big"></div>
>     </div>
>
>
> In Gecko, when there is empty space between the last line and the end of the block, we allow breaking anywhere within that
> empty space. So in this example we'd break too-big into two fragments, each 50px high. The CSS Fragmentation draft doesn't
> currently allow this but I think it should --- thanks for bringing it up.

Isn't that covered by the Class 3 breakpoints?
   http://www.w3.org/TR/css3-break/#possible-breaks

~fantasai
Received on Monday, 8 April 2013 19:46:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 8 April 2013 19:46:12 UTC