W3C home > Mailing lists > Public > www-style@w3.org > August 2011

[css3-regions] Unforced break recommendations

From: Alan Stearns <stearns@adobe.com>
Date: Wed, 3 Aug 2011 17:29:26 -0700
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <CA5F35F6.6CF3%stearns@adobe.com>
I suppose this could be [css3-page] or [css3-multicol] as well. I've been
working on test cases for how content gets split across region boundaries in
the absence of explicit breaks. I think that splitting content across
region, column or page boundaries should be substantially (or entirely) the
same for unforced breaks.

There is some guidance in the spec about the expected behavior. For
instance, in 2.3.2 (Allowed region breaks) it's suggested that it's OK to
split between line boxes in a block container box. And 2.3.4 says "Avoid
breaking inside a replaced element," though that's just a recommendation.

It makes perfect sense to me to avoid splitting replaced elements - an image
or video should be displayed intact if at all possible. But there may also
be non-replaced elements that are best left intact. For example, I'm not
sure it makes sense to split a button that contains multiple line boxes
across a region (or column or page) boundary.

Should the spec go into more detail about unforced break preferences? Are
there any other non-replaced elements that are best left intact? The spec
only makes recommendations, so there won't be testcases for this. Should it
matter if one implementation chooses to allow buttons to split across
boundaries but another implementation pushes the whole button past the
boundary?

Thanks,

Alan
Received on Thursday, 4 August 2011 00:30:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:43 GMT