<?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>160024</bug_id>
          
          <creation_ts>2016-07-21 08:10:59 -0700</creation_ts>
          <short_desc>[GTK] Layout test platform/gtk/scrollbars/main-frame-scrollbar-horizontal-wheel-scroll.html fails since r198269</short_desc>
          <delta_ts>2017-08-18 08:44:03 -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>WebKit 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>
          <dependson>175674</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1213133</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-07-21 08:10:59 -0700</bug_when>
    <thetext>Since https://trac.webkit.org/changeset/198269 the layout test platform/gtk/scrollbars/main-frame-scrollbar-horizontal-wheel-scroll.html fails on platform GTK.

This is the diff image:

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r203502%20%2817200%29/platform/gtk/scrollbars/main-frame-scrollbar-horizontal-wheel-scroll-diffs.html

As you can see, the expected results is that the window is scrolled to the right, but the actual result is not scrolling the window to the right.

Any of this two patches make the test pass:

--- a/LayoutTests/platform/gtk/scrollbars/main-frame-scrollbar-horizontal-wheel-scroll-expected.html
+++ b/LayoutTests/platform/gtk/scrollbars/main-frame-scrollbar-horizontal-wheel-scroll-expected.html
@@ -3,7 +3,7 @@
 &lt;p&gt;This is a test for bug &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=122859&quot;&gt;122859&lt;/a&gt;.
 Scrolling with the mouse wheel over the horizontal main scrollbar should scroll the view horizontally&lt;/p&gt;
 &lt;script&gt;
-  document.scrollingElement.scrollLeft = 40;
+  document.scrollingElement.scrollLeft = 0;
 &lt;/script&gt;
 &lt;/body&gt;
 &lt;/html&gt;


--- a/Source/WebCore/platform/ScrollAnimationSmooth.cpp
+++ b/Source/WebCore/platform/ScrollAnimationSmooth.cpp
@@ -254,7 +254,7 @@ static inline void getAnimationParametersForGranularity(ScrollGranularity granul
         maximumCoastTime = 1;
         break;
     case ScrollByPixel:
-        animationTime = 11 * tickTime;
+        animationTime = 1 * tickTime;
         repeatMinimumSustainTime = 2 * tickTime;
         attackTime = 3 * tickTime;
         releaseTime = 3 * tickTime;



However, I don&apos;t think any of them is right. 

Basically the first patch is disabling the horizontal scrolling on the expected result, and the second one is partially reverting r198269


So, I will mark this test as failing on the test expectations and leave here this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1213166</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-07-21 10:15:12 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; So, I will mark this test as failing on the test expectations and leave here
&gt; this bug.

Marked here: https://trac.webkit.org/changeset/203509/trunk/LayoutTests/platform/gtk/TestExpectations</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>