<?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>198598</bug_id>
          
          <creation_ts>2019-06-05 19:58:10 -0700</creation_ts>
          <short_desc>Don&apos;t fire scroll events during rubber-banding, when the observable values of scrollLeft and scrollTop are not changing</short_desc>
          <delta_ts>2021-06-07 14:11:16 -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>Scrolling</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=198597</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=199691</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>augus.dupin</cc>
    
    <cc>fred.wang</cc>
    
    <cc>john.crim</cc>
    
    <cc>koivisto</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1542278</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-06-05 19:58:10 -0700</bug_when>
    <thetext>We should only fire scroll events when the observable values of scrollLeft and scrollTop change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1542280</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-06-05 19:58:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/51467223&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1767414</commentid>
    <comment_count>2</comment_count>
    <who name="Bruno Stasse">augus.dupin</who>
    <bug_when>2021-06-07 05:05:01 -0700</bug_when>
    <thetext>Am I mistaken or do the observable values of scrollLeft and scrollTop do change during rubber-banding? When overscrolling at the top of a scroll container I get negative values for scrollTop for example (which seems like a good behaviour).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1767496</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-06-07 11:51:52 -0700</bug_when>
    <thetext>There are many websites that do the wrong thing with negative offsets (e.g. the double-translate fake-fixed elements). I don&apos;t think the negative values are web-compatible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1767544</commentid>
    <comment_count>4</comment_count>
    <who name="Bruno Stasse">augus.dupin</who>
    <bug_when>2021-06-07 14:11:16 -0700</bug_when>
    <thetext>I&apos;m not sure I see the problem this can cause, however... scroll values communicated during overscroll seem quite useful to me as they allow to implement animations like zooming a fixed picture or a title when overscrolling at the top of a page. Which wouldn&apos;t be possible without it. And knowing that we are overscrolling in a scroll event handler can be quite useful in other situations. It would really be too bad to lose this information.

At least if both clamp and unclamped values could be available (as suggested here: https://bugs.webkit.org/show_bug.cgi?id=198597#c3) that would be nice.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>