W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: [cssom-view] scrollWidth vs clientWidth

From: David Flanagan <david@davidflanagan.com>
Date: Wed, 18 Aug 2010 10:12:41 -0700
Message-ID: <4C6C1489.4030909@davidflanagan.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Anne van Kesteren <annevk@opera.com>, www-style@w3.org
Tab Atkins Jr. wrote:
> 
> Changes made: http://www.xanthir.com/diagrams/scrollwidth-clientwidth.html
> 
> ~TJ
> 
> 

Very nice!  It occurs to me this morning that, depending on where Anne 
wants to insert a figure like this, it could also be useful to 
illustrate offsetWidth to show that it differs from clientWidth by 
including the borders as well as the padding.

(TJ: I'm not suggesting that you need to go and edit your figure... )

	David
Received on Wednesday, 18 August 2010 17:13:20 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:30 GMT