<?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>28487</bug_id>
          
          <creation_ts>2015-04-14 09:21:23 +0000</creation_ts>
          <short_desc>Checking scrolling box of body for scrollTop doesn&apos;t match Gecko</short_desc>
          <delta_ts>2015-04-14 09:35:21 +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>CSSOM View</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>rbyers</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>119488</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-04-14 09:21:23 +0000</bug_when>
    <thetext>Consider http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3498

&lt;!-- quirks --&gt;
&lt;html style=&quot;overflow:auto; background:url(image) no-repeat center center&quot;&gt;
&lt;body style=&quot;overflow:auto; height:1000px;&quot; onload=&quot;document.body.scrollTop = 400&quot;&gt;x

The body doesn&apos;t have a scrolling box (since it doesn&apos;t overflow, so it doesn&apos;t have a scrolling mechanism). So it should scroll the viewport per spec. But Gecko doesn&apos;t do that. I think it checks the overflow property without considering if it actually overflows. That seems simpler/better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119489</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-04-14 09:35:21 +0000</bug_when>
    <thetext>https://github.com/w3c/csswg-drafts/commit/b02ad91d090e4518b153bf29582cff50c4472a01</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>