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

Re: [css-overflow] pathological fragment box generation

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 5 Apr 2013 16:51:30 +1300
Message-ID: <CAOp6jLbsQWn4ZNVuvXBaFwFD=+JSmcgx7MV8kScdb1t0iDYX=w@mail.gmail.com>
To: Alan Stearns <stearns@adobe.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Fri, Apr 5, 2013 at 4:36 PM, Alan Stearns <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.

Rob
-- 
q“qIqfq qyqoquq qlqoqvqeq qtqhqoqsqeq qwqhqoq qlqoqvqeq qyqoquq,q qwqhqaqtq
qcqrqeqdqiqtq qiqsq qtqhqaqtq qtqoq qyqoquq?q qEqvqeqnq qsqiqnqnqeqrqsq
qlqoqvqeq qtqhqoqsqeq qwqhqoq qlqoqvqeq qtqhqeqmq.q qAqnqdq qiqfq qyqoquq
qdqoq qgqoqoqdq qtqoq qtqhqoqsqeq qwqhqoq qaqrqeq qgqoqoqdq qtqoq qyqoquq,q
qwqhqaqtq qcqrqeqdqiqtq qiqsq qtqhqaqtq qtqoq qyqoquq?q qEqvqeqnq
qsqiqnqnqeqrqsq qdqoq qtqhqaqtq.q"
Received on Friday, 5 April 2013 03:52:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:10 UTC