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

[css-regions][css3-break] Handling content overflow out of its region range

From: Radu STAVILA <stavila@adobe.com>
Date: Fri, 6 Sep 2013 14:33:12 +0100
To: "www-style@w3.org" <www-style@w3.org>
CC: Alan Stearns <stearns@adobe.com>, Tab Atkins <jackalmage@gmail.com>
Message-ID: <CE4FB24D.39DA%stavila@adobe.com>
Hi,

I think we should try to clarify the regions spec as to what should happen
when an element fits inside the region but the overflow of the element
spills out of the region.
Should that overflow:
1. be rendered in the next/previous region or
2. should it be rendered outside of the region it's overflowing?

Personally, I'm in favour of the 2nd way, it makes more sense to me, I
don't think the overflow of the element being flowed into the region
should impact the way the content is fragmented.

Also, consider the following use-case:
	- a flow thread with two regions
	- a div being flowed into the first region with break-after
	- the first region has height:auto.

If this div has some overflow below it, the 1st solution would move that
overflow in the 2nd region, which doesn't make sense considering the
break-after. If using the 2nd solution, the overflow would be rendered
below the first region, which seems to me like the right way to do it.

Please see [1] for how the 1st solutions looks like (the black boxes are
the regions, the green box is the div being flowed and the text is it's
child, which overflows). By applying the 2nd solution [2], the overflow
would spill out below the 1st region and the 2nd region would remain empty.

Thanks,
Radu.

[1] https://dl.dropboxusercontent.com/u/4197809/overflow.jpg
[2] https://dl.dropboxusercontent.com/u/4197809/overflow2.jpg
Received on Friday, 6 September 2013 17:00:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:34 UTC