[css3-regions] OM for region content overflow

For dynamic operations with regions, it is important to know if content fits in the current set of regions or if additional regions need to be generated.

An obvious  way to expose that would be a property on region (on HTMLElement), something like this

	element.regionContentOverflow

with values like
	(A) "there is more content for next region"
	(B) "there is content here and it all fits"
	(C) "this region is empty, content ended in one of previous regions"
and possibly
	(D) "this is not a region" 

What would be good names for this property and values? Here are some ideas:

	element.regionOverflow = overflow | no-overflow | underflow | not-a-region

	element.regionFit = break | fit | empty | none

	element.regionState = continues | data-end | empty | not-linked

	element.regionFlow = continues | completed | empty | not-linked

	element.regionEnd = before| inside| after

I don't think any of these is a clear winner. So far my favorite is this:

	element.regionFit = break | fit | empty | none

Have better ideas?
Alex

Received on Thursday, 19 May 2011 00:23:46 UTC