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

[css-regions] Handling 0 height regions

From: Andrei Bucur <abucur@adobe.com>
Date: Fri, 7 Sep 2012 09:09:22 +0100
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <CC6F8602.39E91%abucur@adobe.com>
Hi!

I'd like to clear-up how 0 height regions should be handled. The spec
currently does not take into account this edge case.
The main issue is wether they should generate break point considering they
can't receive any content. For example:
#region1 { height: 0px; flow-from: flow;}
#region2 { height: 100px; flow-from: flow;}
P { margin: 10px; flow-into: flow; }

What's the correct behaviour in this case? If region1 generates a break,
then the paragraph will not have a visual margin in region2 because the
margin collapse started in region1. If region1 is ignored, the block
starts in region2 and the margin will be present.

Thoughts?

Andrei.
Received on Friday, 7 September 2012 08:09:58 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:00 GMT