<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>15880</bug_id>
          
          <creation_ts>2012-02-04 10:41:47 +0000</creation_ts>
          <short_desc>Interaction of scrollbars with the CSS box model is not well-defined (Issue 208 etc)</short_desc>
          <delta_ts>2012-12-04 00:52:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSS Level 2</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton P">antonsforums</reporter>
          <assigned_to name="Bert Bos">bert</assigned_to>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63671</commentid>
    <comment_count>0</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-02-04 10:41:47 +0000</bug_when>
    <thetext>Scrollbars seem to cause problems in the CSS21 box model, and the seemingly straightforward phrase in 11.1.1:

  # In the case of a scrollbar being placed on an edge of the element&apos;s
  # box, it should be inserted between the inner border edge and the
  # outer padding edge.

is not sufficient to define the model correctly.

This bug report is for collecting relevant information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63672</commentid>
    <comment_count>1</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-02-04 10:58:00 +0000</bug_when>
    <thetext>Discussed by Øyvind Stenhaug, Boris Zbarsky

What are the used values of width, height and padding for a box which has scrollbars?  Putting the scrollbar outside the padding box doesn&apos;t actually happen in reality (since it would overlap other content in the case of zero border width and margin width).

When the height of an overflow:scroll box is non-auto, the scrollbars seem to cause an increase in used height in most UAs.  When the height is auto, however, there&apos;s an argument that putting the scrollbar *into* the padding is the right behavior from the author standpoint since otherwise any overflow:auto block with 
horizontal overflow and auto height would also be forced to have vertical overflow.

Then there&apos;s the issue of containing blocks: 11.1.1 tries to adjust the containing block dimensions for boxes with scrollbars:

  # Any space taken up by the scrollbars should be taken out of
  # (subtracted from the dimensions of) the containing block formed
  # by the element with the scrollbars. 

but it&apos;s not clear why this approach is used (nor whether it is well-defined) instead of simply modifying the used values of width/height/padding.

See discussion beginning at http://lists.w3.org/Archives/Public/www-style/2010Aug/0541.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63673</commentid>
    <comment_count>2</comment_count>
    <who name="Anton P">antonsforums</who>
    <bug_when>2012-02-04 11:06:30 +0000</bug_when>
    <thetext>Note: the above issue is Issue 208:

Issue 208: http://wiki.csswg.org/spec/css2.1#issue-208

Summary
    Horizontal scrollbars confuse width/height/etc calculations
URI
    http://lists.w3.org/Archives/Public/www-style/2010Aug/0544.html
Resolution
    No change to spec, address any clarifications in errata.
Status
    Closed. =errata=</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>