W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001


From: Cameron Hart <cameron@bitshifter.co.uk>
Date: Mon, 29 Jan 2001 14:43:42 -0000
To: <www-dom@w3.org>
Message-ID: <JNELJHKNHEHEGABLDMEJMELKCAAA.cameron@bitshifter.co.uk>

I've got a question on measuring HTML elements. IE and now Mozilla both
implement offsetWidth and offsetHeight. IE also has other properties for
getting the size of HTML elements such as scrollWidth and scrollHeight for
getting the content height of an element rather than what is actually
displayed (like a div with a size < content size). Measuring elements is
extremely useful when creating DHTML pages. I'm wondering why there is no
specification in the DOM for this kind of functionality? Is it an oversight,
or out of the scope of the DOM, or am I just missing something?


Received on Monday, 29 January 2001 09:47:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:08 UTC