<?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>279345</bug_id>
          
          <creation_ts>2024-09-09 00:05:45 -0700</creation_ts>
          <short_desc>Remove Quirk shouldPreventDispatchOfTouchEvent for sites.google.com</short_desc>
          <delta_ts>2024-09-09 00:05:54 -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>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://sites.google.com/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>210143</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Dubost">karlcow</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2058555</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-09-09 00:05:45 -0700</bug_when>
    <thetext>On Bug 210143 / rdar 58653069, a quirk has been added to make it possible to expand the submenus in sites.google.com on iPad on Safari.

Steps to reproduce:

1. With an iPad
2. Go to https://sites.google.com/
3. Choose a template
4. On the right side column, select Pages
5. A series is being displayed.
6. When hovering click on the 3 vertical dots
7. A menu appears, choose Add a subpage
8. Give it a name and create it
9. A subpage appears in the menu and a triangle at the beginning of the parent page
10. Click on the triangle icon

Result:
With Site Specific Hacks ENABLED, the triangle icon hide or show the subpages
With Site Specific Hacks DISABLED, the triangle icon is not working.


When clicking on the icon these are the events being emitted. 

Site Specific Hacks ENABLED
[Log] event: touchstart, target: [object HTMLSpanElement]
[Log] event: touchstart, target: [object HTMLSpanElement]
[Log] event: mousemove, target: [object HTMLSpanElement]
[Log] event: mousemove, target: [object HTMLSpanElement]
[Log] event: mousedown, target: [object HTMLSpanElement] (x2)
[Log] event: mousedown, target: [object HTMLSpanElement]
[Log] event: mousedown, target: [object HTMLSpanElement]
[Log] event: mouseup, target: [object HTMLSpanElement] (x2)
[Log] event: mouseup, target: [object HTMLSpanElement]
[Log] event: mouseup, target: [object HTMLSpanElement]
[Log] event: click, target: [object HTMLSpanElement]
[Log] event: click, target: [object HTMLSpanElement]
[Log] event: transitionend, target: [object HTMLDivElement] (x6)

Site Specific Hacks DISABLED
[Log] event: touchstart, target: [object HTMLSpanElement]
[Log] event: touchstart, target: [object HTMLSpanElement]
[Log] event: touchend, target: [object HTMLSpanElement]
[Log] event: touchend, target: [object HTMLSpanElement]
[Log] event: transitionend, target: [object HTMLDivElement] (x6)



The code on WebKit has no call in the rest of the source code
https://github.com/search?q=repo%3AWebKit%2FWebKit+shouldPreventDispatchOfTouchEvent&amp;type=code
It means that it requires a PR on Safari code too. 
The current Quirk is acting on touchendEvent

As of today the current Quirk CAN NOT be removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2058556</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-09-09 00:05:54 -0700</bug_when>
    <thetext>&lt;rdar://problem/135531665&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>