W3C home > Mailing lists > Public > www-style@w3.org > July 1999

Re: syntax of rect()

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Thu, 8 Jul 1999 14:01:26 -0400 (EDT)
Message-Id: <199907081801.OAA21482@ice2.fas.harvard.edu>
To: www-style@w3.org
On Thu, 24 Jun 1999 22:54:48 +0200 (MET DST), a long time ago, Bert Bos
(Bert.Bos@sophia.inria.fr) wrote:
> However, the 'clip' property is at the moment almost unusable for
> another reason, and that is that both MSIE and NS interpret right and
> bottom in the opposite way from the spec: for them rect(0,0,0,0) means
> completely invisible, while rect(0,100%,100%,0) is completely visible.
> The spec has exactly the opposite. Some people claim that it is easier
> to write scripts this way. It might become an erratum.

Officially changing that sounds like a good idea.  However, if that is
done, perhaps there should be a second value for the clip property,
perhaps called edges() or sides(), that has the same meaning that
rect() did in the original CSS2 definition.  This would be more useful
when the author doesn't know the size of the element and wants units
other than percentage units.

David

L. David Baron     Rising Sophomore, Harvard     dbaron@fas.harvard.edu
Links, SatPix, CSS, etc.        < http://www.fas.harvard.edu/~dbaron/ >
Summer Intern, Netscape - however, opinions are entirely my own, etc.
Received on Thursday, 8 July 1999 14:01:32 GMT

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