W3C home > Mailing lists > Public > www-style@w3.org > April 2006

Re: Text Flow

From: David Woolley <david@djwhome.demon.co.uk>
Date: Thu, 6 Apr 2006 22:38:54 +0100 (BST)
Message-Id: <200604062138.k36Lcsm05001@djwhome.demon.co.uk>
To: www-style@w3.org

> 
> 
> Apologies if this is a common request, but I haven't seen it  
> discussed, and could find no mention of it anywhere in the spec...

It's been made at least once before.
> 
> #firstDiv
> {
> 	text-overflow: id(#secondDiv);
> }

This is a clear abuse of the DIV element.  You are introducing a 
DIV element which doesn't represent a structural element in the document
(and with the intention that the content be rendered as though arbitrarily
split into two different divisions).

The Holy Grail of CSS is to eliminate the need to misrepresent the 
structure of the document in order to get a desirable rendering.

Also note that there will be valid cases in which secondDiv is not 
used at all, and things would get interesting if secondDiv preceded 
firstDiv and its size wasn't fully constrained.
Received on Friday, 7 April 2006 04:40:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:44 GMT