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 11:32:12 -0700
Message-ID: <4C6C272C.6070703@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
> 

The diagram makes it clear what happens when an element's content is 
wider than the content area. What about the opposite, though: what if 
the content is smaller than the content area.  Is scrollWidth the same 
as clientWidth in that case, or is it smaller?

	David
Received on Wednesday, 18 August 2010 18:32:49 GMT

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