Re: [cssom-view] Definition of scrollWidth doesn't seem to make sense

On 1/17/12 12:26 PM, Boris Zbarsky wrote:
> https://bugzilla.mozilla.org/attachment.cgi?id=589081 shows 210 in all
> modern browsers. Per the definition currently in the spec I _think_ it
> should say 220, because that definition talks about adding up the
> paddings and the "content width", but the content can (and in this case
> does) overlap the paddings.
>
> I believe in this instance the spec is what's wrong, not the
> implementations.

Oh, scrollHeight has the same issue, of course.

-Boris

Received on Tuesday, 17 January 2012 17:29:17 UTC