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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>95032</bug_id>
          
          <creation_ts>2012-08-26 08:45:46 -0700</creation_ts>
          <short_desc>padding inside scrollable boxes doesn&apos;t follow CSS 2.1</short_desc>
          <delta_ts>2022-02-25 14:38:55 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Scrolling</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=236142</see_also>
          <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="Luca Wehrstedt">luca.wehrstedt</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>704849</commentid>
    <comment_count>0</comment_count>
    <who name="Luca Wehrstedt">luca.wehrstedt</who>
    <bug_when>2012-08-26 08:45:46 -0700</bug_when>
    <thetext>I&apos;m using Chromium 21.0.1180.57 (WebKit version 537.1) on Gentoo Linux x86_64.

Chromium and Firefox render this jsFiddle differently: http://jsfiddle.net/DARgK/2/

Chromium shows a white &quot;border&quot; (i.e. the padding) all around the gray box (i.e. div.inner), even at the bottom, even when fully scrolled down.
Firefox doesn&apos;t put the padding at the bottom, that is there isn&apos;t any &quot;border&quot; at the bottom event when fully scrolled down.
Another way to say it could be that Firefox allows to scroll down until the bottom of the *content*, and no more, while Chromium adds the padding-bottom to that.

Firefox changed this behavior in version 12: they say it&apos;s the correct way to render it as of CSS 2.1 (see https://bugzilla.mozilla.org/show_bug.cgi?id=748518).

If that&apos;s the case I think WebKit should fix it too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1846195</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-02-25 14:38:55 -0800</bug_when>
    <thetext>http://jsfiddle.net/DARgK/2/ renders the same way in all 3 major browsers now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>