Re: [cssom-view] scrollWidth vs clientWidth

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 UTC