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

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

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Thu, 19 Jan 2012 13:30:41 +0100
Message-ID: <4F180CF1.4010709@kozea.fr>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: www-style@w3.org
Le 17/01/2012 18:26, Boris Zbarsky a écrit :
> 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’m not sure how scrollWidth is or should be defined, but maybe the 
"content width" refers to the width of the content area, as defined in 
the box model:


In that case, it is the used or actual value of the 'width' property 
(assuming 'box-sizing: content-box') and does not depend on the 
element’s children.


Simon Sapin
Received on Thursday, 19 January 2012 12:31:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:10 UTC