<?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>258255</bug_id>
          
          <creation_ts>2023-06-17 17:50:29 -0700</creation_ts>
          <short_desc>[pointer-events] Fix scrolling on nested pointer-events: auto inside pointer-events: none</short_desc>
          <delta_ts>2024-10-14 02:03:22 -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>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.chromium.org/p/chromium/issues/detail?id=1129945</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=264763</see_also>
          <bug_file_loc>https://wpt.fyi/results/pointerevents/pointerevent_hit_test_scroll_visible_descendant.html?label=master&amp;label=experimental&amp;product=chrome&amp;product=firefox&amp;product=safari&amp;aligned&amp;view=interop&amp;q=label%3Ainterop-2023-events</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="Tim Nguyen (:ntim)">ntim</reporter>
          <assigned_to name="Matthieu Dubet">m_dubet</assigned_to>
          <cc>alexander</cc>
    
    <cc>a_protyasha</cc>
    
    <cc>bfulgham</cc>
    
    <cc>hi</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1962311</commentid>
    <comment_count>0</comment_count>
      <attachid>466744</attachid>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-06-17 17:50:29 -0700</bug_when>
    <thetext>Created attachment 466744
Testcase

See test case.

WPT: https://wpt.fyi/results/pointerevents/pointerevent_hit_test_scroll_visible_descendant.html?label=master&amp;label=experimental&amp;product=chrome&amp;product=firefox&amp;product=safari&amp;aligned&amp;view=interop&amp;q=label%3Ainterop-2023-events</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1962312</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-06-17 17:50:39 -0700</bug_when>
    <thetext>&lt;rdar://problem/110954175&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1983354</commentid>
    <comment_count>2</comment_count>
    <who name="Matthieu Dubet">m_dubet</who>
    <bug_when>2023-10-06 15:39:29 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/18790</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989308</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-01 17:01:18 -0700</bug_when>
    <thetext>Committed 270094@main (2b7aa256562d): &lt;https://commits.webkit.org/270094@main&gt;

Reviewed commits have been landed. Closing PR #18790 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2003564</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-01-08 03:38:08 -0800</bug_when>
    <thetext>*** Bug 183870 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2017310</commentid>
    <comment_count>5</comment_count>
    <who name="Matthieu Dubet">m_dubet</who>
    <bug_when>2024-02-27 14:57:36 -0800</bug_when>
    <thetext>Re-opening for pull request https://github.com/WebKit/WebKit/pull/25195</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2067689</commentid>
    <comment_count>6</comment_count>
    <who name="Alex">alexander</who>
    <bug_when>2024-10-14 02:03:22 -0700</bug_when>
    <thetext>I&apos;m trying to create a bottomsheet style drawer, the container has `pointer-events: none` so I can tap through it, but the sheet itself has `pointer-events: auto` so I can drag it with my finger, effectively scrolling the container:
https://codepen.io/waterplea/pen/XWvMXxG

It is working as expected on Android, I can tap and drag blue area and nothing happens and I can drag pink one with my finger. In iOS it does not work.

Am I right in my understanding that this issue is about the same thing and will be soon fixed?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>466744</attachid>
            <date>2023-06-17 17:50:29 -0700</date>
            <delta_ts>2023-06-17 17:50:29 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>pointer-events-scroller.html</filename>
            <type>text/html</type>
            <size>282</size>
            <attacher name="Tim Nguyen (:ntim)">ntim</attacher>
            
              <data encoding="base64">PGRpdiBpZD0icGFyZW50IiBzdHlsZT0icG9pbnRlci1ldmVudHM6IG5vbmU7IG92ZXJmbG93OiBh
dXRvOyBib3JkZXI6IDFweCBzb2xpZCBncmVlbjsgaGVpZ2h0OiAyMDBweDsiPgo8ZGl2IGlkPSJz
Y3JvbGxlciIgc3R5bGU9InBvaW50ZXItZXZlbnRzOiBhdXRvOyBib3JkZXI6IDFweCBzb2xpZCBn
cmVlbjsgaGVpZ2h0OiAyMDBweDsgIj4KVHJ5IHRvIHNjcm9sbCBtZQo8L2Rpdj4KPGRpdiBpZD0i
b3ZlcmZsb3ciIHN0eWxlPSJoZWlnaHQ6IDIwMHB4OyI+PC9kaXY+ClN1Y2Nlc3MKPC9kaXY+
</data>

          </attachment>
      

    </bug>

</bugzilla>