<?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>47963</bug_id>
          
          <creation_ts>2010-10-19 18:40:18 -0700</creation_ts>
          <short_desc>Scrollbar in wrong position if hidden then unhidden</short_desc>
          <delta_ts>2011-06-21 11:53:04 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://www.hunlock.com/blogs/Mastering_JSON_(_JavaScript_Object_Notation_)#quickIDX8</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Gregg Tavares">gman</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hyatt</cc>
    
    <cc>mars.aaron</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>296594</commentid>
    <comment_count>0</comment_count>
    <who name="Gregg Tavares">gman</who>
    <bug_when>2010-10-19 18:40:18 -0700</bug_when>
    <thetext>What steps will reproduce the problem?
1. go to http://www.hunlock.com/blogs/Mastering_JSON_(_JavaScript_Object_Notation_)#quickIDX8
2. Put the mouse over the code sample under &quot;JSON Via Parse&quot;
3. Scroll the CODE SAMPLE to the bottom using the scrollbar inside the CODE SAMPLE
4. Move the mouse outside the code sample then back over the code sample.

What is the expected output? 

The scrollbar inside the CODE SAMPLE should be at the bottom, matching the state of the CODE SAMPLE.

What do you see instead?

The scrollbar is at the top.

Apparently the issue is that the scrollbar is created and destroyed since &quot;overflow:auto&quot; in only on &quot;hover&quot;. When it&apos;s re-created it is not initialized to the correct value.

These bugs appear to be the same issue
https://bugs.webkit.org/show_bug.cgi?id=35366
https://bugs.webkit.org/show_bug.cgi?id=26438

It was suggested that Mr. Hyatt might know this part of the code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>424632</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Mars">mars.aaron</who>
    <bug_when>2011-06-21 11:53:04 -0700</bug_when>
    <thetext>I have confirmed that this still exists using Chrome 14.0.794.0 dev (Linux)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>