- From: Alan Stearns <stearns@adobe.com>
- Date: Thu, 4 Apr 2013 20:36:23 -0700
- To: "www-style@w3.org" <www-style@w3.org>
I searched the issues to see if this problem had already been noted - apologies if I missed it. 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> We will need to have a way of terminating box generation when needed. The simplest thing would be to stop generating boxes as soon as a single box fails to be assigned a content fragment, but there will be cases where a single box or series of boxes fail, but boxes down the line would succeed, such as adding this to the above: .too-small::nth-fragment(even) { height: 150px; } So it might be useful to describe a way to search through the fragment box styling to determine whether terminating box generation is truly required. Thanks, Alan
Received on Friday, 5 April 2013 03:36:51 UTC