Re: [cssom-view] scrollWidth vs clientWidth

On 8/16/10, David Flanagan <david@davidflanagan.com> wrote:
> Hi,
>
> I cannot tell, from reading the spec, what the difference between the
> clientWidth and scrollWidth is supposed to be (and also clientHeight and
> scrollHeight, of course).
>
> The scrollWidth is:
>
>> the computed value of the padding-left property of A, plus the computed
>> value of the padding-right  property of A, plus the content width of A.
>
> The clientWidth is:
>
>> the viewport height

Is it really that bad?

Received on Tuesday, 17 August 2010 00:27:28 UTC