<?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>80534</bug_id>
          
          <creation_ts>2012-03-07 13:09:57 -0800</creation_ts>
          <short_desc>[GTK] fast/events/autoscroll-in-textfield fails since r110072</short_desc>
          <delta_ts>2012-05-05 10:11:09 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Philippe Normand">pnormand</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jchaffraix</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>573153</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2012-03-07 13:09:57 -0800</bug_when>
    <thetext>Consistently. Diff:

--- /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/fast/events/autoscroll-in-textfield-expected.txt 
+++ /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/fast/events/autoscroll-in-textfield-actual.txt 
@@ -1,3 +1,3 @@
  https://bugs.webkit.org/show_bug.cgi?id=20201 
 To do the test manually you have to try triggering the autoscroll by starting the dragging from within the text field and moving to the right. If the autoscroll occurs the test has PASSED.
-PASSED
+FAILED the textfield should have been scrolled

I&apos;ll skip this one for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>573160</commentid>
    <comment_count>1</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2012-03-07 13:14:48 -0800</bug_when>
    <thetext>This is likely an issue where we don&apos;t allocate a RenderLayer and just lose the scroll offset information in this case. A render tree dump of the failing test case would definitely help here!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>594464</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2012-04-03 07:28:52 -0700</bug_when>
    <thetext>Would you have any advice on where to break in gdb? I&apos;m not very familiar with the scroll code :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>594605</commentid>
    <comment_count>3</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2012-04-03 10:26:14 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Would you have any advice on where to break in gdb? I&apos;m not very familiar with the scroll code :(

A failing tree dump would be super helpful regardless of debugging.

That said, my theory is that we don&apos;t allocate the layer as we should. To confirm that, you could break into RenderBox::scrollLeft - as this is called from the test page - and check that hasOverflowClipWithLayer() is true. If it isn&apos;t, I would dive into RenderBlock::addOverflowFromChildren and see why RenderBox::addLayoutOverflow doesn&apos;t allocate the layer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>617026</commentid>
    <comment_count>4</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-05-05 10:11:09 -0700</bug_when>
    <thetext>The tests covered by this bug were found to be passing consistently after moving from using the Skipped list to using test_expectations.txt. Their expectations were removed in r116122[1] (covered by bug #85591). Closing the bug.

1: http://trac.webkit.org/changeset/116122</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>