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

[css3-regions] OM for region content overflow

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Thu, 19 May 2011 00:23:17 +0000
To: W3C style mailing list <www-style@w3.org>
Message-ID: <D51C9E849DDD0D4EA38C2E539856928411FA0026@TK5EX14MBXC218.redmond.corp.microsoft.com>
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 GMT

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