W3C home > Mailing lists > Public > www-style@w3.org > January 2012

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 17 Jan 2012 12:28:34 -0500
Message-ID: <4F15AFC2.40900@mit.edu>
To: www-style@w3.org
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 GMT

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