<?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>24813</bug_id>
          
          <creation_ts>2009-03-25 13:22:54 -0700</creation_ts>
          <short_desc>Continuous scroll devices shouldn&apos;t use an SPI on Mac</short_desc>
          <delta_ts>2023-10-24 13:47:35 -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>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></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>0</everconfirmed>
          <reporter name="Avi Drissman">avi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>115208</commentid>
    <comment_count>0</comment_count>
    <who name="Avi Drissman">avi</who>
    <bug_when>2009-03-25 13:22:54 -0700</bug_when>
    <thetext>Currently, to support a continuous scroll device, WheelEventMac uses an SPI (wkGetWheelEventDeltas) (see http://trac.webkit.org/browser/trunk/WebCore/platform/mac/WheelEventMac.mm). This isn&apos;t necessary anymore in Leopard.

In Chromium, we&apos;re using CGEvents to get the data we need. See http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/webinputevent_mac.mm .

WebKit should switch for two reasons:

- The use of SPIs is bad and should be reduced
- The measurement of scrolling units should agree across WebKit browsers. For example, the DOM scroll event should have non-accelerated ticks. We have that in Chromium. Does WebKit? It&apos;s hard to say as the SPI isn&apos;t documented.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1986414</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-10-20 07:30:47 -0700</bug_when>
    <thetext>@Simon - is this still applicable?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1987226</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-10-24 13:47:35 -0700</bug_when>
    <thetext>Unsure without investigation.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>