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

Overflow

From: Matthew Brealey <webmaster@richinstyle.com>
Date: Mon, 03 Apr 2000 12:53:21 -0700
Message-ID: <38E8F6B1.1059@richinstyle.com>
To: www-style@w3.org
<blockquote cite="http://www.w3.org/TR/REC-CSS2/visufx.html#overflow">
This [the overflow] property specifies whether the content of a
block-level element is clipped when it overflows the element's box
(which is acting as a containing block for the content). 
</blockquote>

Not so. The overflow property specifies whether the content of a
block-level element is clipped when it overflows the element's clipping
region (which is usually (i.e., unless a contrary declaration is made)
the size of the containing block). The  distinction is important, for
otherwise it renders absurd the statement that overflow applies to
replaced elements, for which content defines the containing block, so
can scarce be said to overflow it.

In addition, I believe that the statement that overflow and clip apply
only to block-level and replaced elements is unnecessarily restrictive -
for overflow to be meaningful it is necessary to be able to define a
clipping region; i.e., the box must be a block box. Since floated
elements always create a block (there surely must be a better term than
this) box, overflow and clip should apply to floats.

-----------------------------------
Please visit http://RichInStyle.com. Featuring:
MySite: customizable styles.         AlwaysWork style 
Browser bug table covering all CSS2 with links to descriptions.
Lists of > 1000 browser bugs         Websafe Colorizer 
CSS2, CSS1 and HTML4 tutorials.      CSS masterclass 
CSS2 test suite: 5000++ tests and 300+ test pages.
Received on Monday, 3 April 2000 07:49:40 GMT

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