<?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>6240</bug_id>
          
          <creation_ts>2005-12-25 12:54:41 -0800</creation_ts>
          <short_desc>REGRESSION: scrollbars in overflows don&apos;t work</short_desc>
          <delta_ts>2006-01-31 21:20:52 -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>New Bugs</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          <cc>darin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26632</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2005-12-25 12:54:41 -0800</bug_when>
    <thetext>Scrollbars in overflows don&apos;t respond at all. See for example attachment 4800.

The regression happened sometime in these 18 minutes:
WebKit-CVS-2005-12-23 21-57-59 GMT.dmg - scrollbars work
WebKit-CVS-2005-12-23 22-16-19 GMT.dmg - scrollbars don&apos;t work</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26634</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2005-12-25 13:48:34 -0800</bug_when>
    <thetext>Looks like a regression from the changes to position computations in dom2_eventsimpl.cpp in the patch 
for bug 6177.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26635</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2005-12-25 14:13:53 -0800</bug_when>
    <thetext>-        docRenderer-&gt;layer()-&gt;hitTest(hitTestResult, m_pageX, m_pageY);
+        docRenderer-&gt;layer()-&gt;hitTest(hitTestResult, m_clientX, m_clientY);
seems to do the trick, but I don&apos;t understand all those coordinate systems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26636</commentid>
    <comment_count>3</comment_count>
    <who name="">mitz</who>
    <bug_when>2005-12-25 14:16:35 -0800</bug_when>
    <thetext>(And just to explain how this affected scrollbars: hit-testing the wrong point at the wrong time clears the 
RenderLayer::gScrollBar global).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26637</commentid>
    <comment_count>4</comment_count>
    <who name="">mitz</who>
    <bug_when>2005-12-25 14:32:35 -0800</bug_when>
    <thetext>On an unrelated note, the use of viewportToContents in MouseRelatedEventImpl::computePositions seems 
ood. It looks to me like m_clientX and m_clientY are already the result of applying viewportToContents to 
view coordinates in e.g. NodeImpl::dispatchMouseEvent(QMouseEvent *_mouse, const AtomicString 
&amp;overrideType, int overrideDetail).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26689</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2005-12-26 17:52:26 -0800</bug_when>
    <thetext>You&apos;re right about that viewportToContents call being wrong. That was part of a bigger patch that should 
not have been landed in this broken form.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26691</commentid>
    <comment_count>6</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2005-12-26 17:57:12 -0800</bug_when>
    <thetext>The real issue here is that the current code can&apos;t handle clientX, clientY, pageX, and pageY without 
changes that are outside the event class.

So the right thing to do here is to patch to restore the old (albeit broken) behavior. And file a new bug 
about clientX and clientY being wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27610</commentid>
    <comment_count>7</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-01-03 11:05:17 -0800</bug_when>
    <thetext>&lt;rdar://problem/4392772&gt; REGRESSION (420+): Can&apos;t use scroll bar on DIV element that has been 
assigned (overflow: auto) (6240)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29393</commentid>
    <comment_count>8</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-01-22 04:56:20 -0800</bug_when>
    <thetext>Removing keyword(s) since bug is fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29417</commentid>
    <comment_count>9</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-01-22 05:00:34 -0800</bug_when>
    <thetext>Removing keyword(s) since bug is fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30886</commentid>
    <comment_count>10</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-31 21:20:52 -0800</bug_when>
    <thetext>Removing Regression keyword from bugs already fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>