<?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>258622</bug_id>
          
          <creation_ts>2023-06-28 06:43:51 -0700</creation_ts>
          <short_desc>Selection should not set the cursor type to text over the explicitly set cursor type</short_desc>
          <delta_ts>2023-06-28 13:47:17 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmad Saleem">ahmad.saleem792</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>1964025</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-06-28 06:43:51 -0700</bug_when>
    <thetext>Hi Team,

While going through Blink&apos;s commit, I came across another failing test in Safari Technology Preview 172 and WebKit ToT while passing in Chrome Canary 117 and Firefox Nightly 116.

Test Case: https://jsfiddle.net/qe3dkgaw/show

^ Open and drag select text, Safari will have &apos;I-Beam&apos; (text) cursor while others will have &apos;progress&apos; cursor.

Blink Commit: https://chromium.googlesource.com/chromium/blink/+/a5c471c481544403615780bce2845de58e37e341%5E%21/#F2

WebKit Source: https://searchfox.org/wubkat/source/Source/WebCore/page/EventHandler.cpp#1555

This commit does not modify single thing but just pushes the &apos;if&apos; below &apos;switch&apos; case. In local testing, now we pass attached test case at least in &quot;Minibrowser&quot; and get &apos;progress&apos; cursor.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1964108</commentid>
    <comment_count>1</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-06-28 13:46:49 -0700</bug_when>
    <thetext>Committed 265597@main (15042015b0c8): &lt;https://commits.webkit.org/265597@main&gt;

Reviewed commits have been landed. Closing PR #15372 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1964109</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-06-28 13:47:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/111469521&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>