<?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>197387</bug_id>
          
          <creation_ts>2019-04-29 14:22:09 -0700</creation_ts>
          <short_desc>[macOS] scroll event doesn&apos;t fire on Visual Viewport API</short_desc>
          <delta_ts>2019-05-03 09:09:11 -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>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <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>
          
          <blocked>170982</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1531294</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-04-29 14:22:09 -0700</bug_when>
    <thetext>Apparently we don&apos;t fire scroll event on visual viewport API on macOS :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1531297</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-04-29 14:23:43 -0700</bug_when>
    <thetext>&lt;rdar://problem/50311222&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1532670</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-05-02 22:36:15 -0700</bug_when>
    <thetext>Actually, the current behavior of WebKit matches that of Chrome so this is probably not really a bug. In fact, offsetTop/offsetLeft are always 0 on macOS when it&apos;s not zoomed. When we&apos;re zoomed, we&apos;d fire scroll events as expected. This is somewhat counterintuitive but it&apos;s probably safe to match Chrome&apos;s behavior here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1532784</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-05-03 09:09:11 -0700</bug_when>
    <thetext>Right, that&apos;s related to whether you fire scroll events on visual or layout viewport changes.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>