Re: Intrinsic Dimensions

by "Donna Smillie" <dms(at)zetnet.co.uk>

 Date:  Sat, 14 Jun 2003 12:47:28 +0100
 To:  "John" <johnmoz(at)ozemail.com.au>,
<hwg-techniques(at)hwg.org>
 References:  apto
  todo: View Thread, Original
----- Original Message -----
From: "John" <johnmoz(at)ozemail.com.au>


> http://www.w3.org/TR/REC-CSS2/conform.html
>
> ###############
> Replaced element
> An element for which the CSS formatter knows only the intrinsic
dimensions.
> In HTML, IMG, INPUT, TEXTAREA, SELECT, and OBJECT elements can be examples
> of replaced elements. For example, the content of the IMG element is often
> replaced by the image that the "src" attribute designates. CSS does not
> define how the intrinsic dimensions are found.
>
> Intrinsic dimensions
> The width and height as defined by the element itself, not imposed by the
> surroundings. In CSS2 it is assumed that all replaced elements -- and only
> replaced elements -- come with intrinsic dimensions.
> #################
>
> Is it saying that for example with an image [<img>] inhereted dimensions
> would be overidden by the dimensions set inside the tag itself? Does this
> change the way an image is scaled by the old html img width and height
> attributes?

I don't think so.  Note that in the definition for "Replaced element" it
only says that the listed elements *CAN* be examples of replaced elements.
I take the material above to indicate that these are elements which, if no
dimensions are specified, come with intrinsic (i.e. "built in") dimensions
that can be used by the CSS formatter.  But I might be wrong in that
understanding. :-)

Regards,
Donna

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.