<?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>306444</bug_id>
          
          <creation_ts>2026-01-28 11:04:39 -0800</creation_ts>
          <short_desc>[ MacOS Release ] imported/w3c/web-platform-tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative.html is a flaky text failure.</short_desc>
          <delta_ts>2026-02-12 14:27:51 -0800</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>NEW</bug_status>
          <resolution></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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego De La Toba">d_delatoba</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2175883</commentid>
    <comment_count>0</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-01-28 11:04:39 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative.html?target=DesignMode 
AND 
imported/w3c/web-platform-tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative.html?target=DesignMode&amp;parent=b&amp;child=I 
are a flakey text failure on Sequoia+ Release.


HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fediting%2Fother%2Ftyping-around-link-element-at-non-collapsed-selection.tentative.html%3Ftarget%3DDesignMode%26parent%3Db%26child%3Di

https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fediting%2Fother%2Ftyping-around-link-element-at-non-collapsed-selection.tentative.html%3Ftarget%3DDesignMode


TEXT DIFF:
--- /Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative_target=DesignMode-expected.txt
+++ /Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative_target=DesignMode-actual.txt
@@ -1,7 +1,7 @@
 
 
 PASS Testing inserting content at non-collapsed selection around link element
-PASS Inserting &quot;XY&quot; after deleting first character of a link (Direct typing) in &lt;p&gt;&lt;a href=&quot;about:blank&quot;&gt;[z]abc&lt;/a&gt;&lt;/p&gt;
+FAIL Inserting &quot;XY&quot; after deleting first character of a link (Direct typing) in &lt;p&gt;&lt;a href=&quot;about:blank&quot;&gt;[z]abc&lt;/a&gt;&lt;/p&gt; assert_in_array: value &quot;&lt;p&gt;&lt;a href=\&quot;about:blank\&quot;&gt;Yabc&lt;/a&gt;&lt;/p&gt;&quot; not in array [&quot;&lt;p&gt;&lt;a href=\&quot;about:blank\&quot;&gt;XYabc&lt;/a&gt;&lt;/p&gt;&quot;, &quot;&lt;p&gt;&lt;a href=\&quot;about:blank\&quot;&gt;XYabc&lt;/a&gt;&lt;br&gt;&lt;/p&gt;&quot;]
 FAIL Inserting &quot;XY&quot; after deleting last character in a non-collapsed range of a link (Direct typing) in &lt;p&gt;&lt;a href=&quot;about:blank&quot;&gt;abc[d]&lt;/a&gt;&lt;/p&gt; assert_in_array: value &quot;&lt;p&gt;&lt;a href=\&quot;about:blank\&quot;&gt;abcX&lt;/a&gt;Y&lt;/p&gt;&quot; not in array [&quot;&lt;p&gt;&lt;a href=\&quot;about:blank\&quot;&gt;abcXY&lt;/a&gt;&lt;/p&gt;&quot;, &quot;&lt;p&gt;&lt;a href=\&quot;about:blank\&quot;&gt;abcXY&lt;/a&gt;&lt;br&gt;&lt;/p&gt;&quot;]
 PASS Inserting &quot;XY&quot; after deleting text after middle of a link (Direct typing) in &lt;p&gt;&lt;a href=&quot;about:blank&quot;&gt;ab[cd&lt;/a&gt;de]f&lt;/p&gt;
 PASS Inserting &quot;XY&quot; after deleting text before middle of a link (Direct typing) in &lt;p&gt;a[bc&lt;a href=&quot;about:blank&quot;&gt;de]f&lt;/a&gt;&lt;/p&gt;

--- /Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative_target=DesignMode&amp;parent=b&amp;child=i-expected.txt
+++ /Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative_target=DesignMode&amp;parent=b&amp;child=i-actual.txt
@@ -1,7 +1,7 @@
 
 
 PASS Testing inserting content at non-collapsed selection around link element
-PASS Inserting &quot;XY&quot; after deleting first character of a link in &lt;b&gt; and containing &lt;i&gt; (Direct typing) in &lt;p&gt;&lt;b&gt;&lt;a href=&quot;about:blank&quot;&gt;&lt;i&gt;[z]abc&lt;/i&gt;&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;
+FAIL Inserting &quot;XY&quot; after deleting first character of a link in &lt;b&gt; and containing &lt;i&gt; (Direct typing) in &lt;p&gt;&lt;b&gt;&lt;a href=&quot;about:blank&quot;&gt;&lt;i&gt;[z]abc&lt;/i&gt;&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; assert_in_array: value &quot;&lt;p&gt;&lt;b&gt;&lt;a href=\&quot;about:blank\&quot;&gt;&lt;i&gt;Yabc&lt;/i&gt;&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;&quot; not in array [&quot;&lt;p&gt;&lt;b&gt;&lt;a href=\&quot;about:blank\&quot;&gt;&lt;i&gt;XYabc&lt;/i&gt;&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;&quot;, &quot;&lt;p&gt;&lt;b&gt;&lt;a href=\&quot;about:blank\&quot;&gt;&lt;i&gt;XYabc&lt;/i&gt;&lt;/a&gt;&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&quot;]
 FAIL Inserting &quot;XY&quot; after deleting last character in a non-collapsed range of a link in &lt;b&gt; and containing &lt;i&gt; (Direct typing) in &lt;p&gt;&lt;b&gt;&lt;a href=&quot;about:blank&quot;&gt;&lt;i&gt;abc[d]&lt;/i&gt;&lt;/a&gt;&lt;/b&gt;&lt;/p&gt; assert_in_array: value &quot;&lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;a href=\&quot;about:blank\&quot;&gt;abcX&lt;/a&gt;Y&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&quot; not in array [&quot;&lt;p&gt;&lt;b&gt;&lt;a href=\&quot;about:blank\&quot;&gt;&lt;i&gt;abcXY&lt;/i&gt;&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;&quot;, &quot;&lt;p&gt;&lt;b&gt;&lt;a href=\&quot;about:blank\&quot;&gt;&lt;i&gt;abcXY&lt;/i&gt;&lt;/a&gt;&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&quot;]
 PASS Inserting &quot;XY&quot; after deleting text after middle of a link in &lt;b&gt; and containing &lt;i&gt; (Direct typing) in &lt;p&gt;&lt;b&gt;&lt;a href=&quot;about:blank&quot;&gt;&lt;i&gt;ab[cd&lt;/i&gt;&lt;/a&gt;de]f&lt;/b&gt;&lt;/p&gt;
 PASS Inserting &quot;XY&quot; after deleting text before middle of a link in &lt;b&gt; and containing &lt;i&gt; (Direct typing) in &lt;p&gt;&lt;b&gt;a[bc&lt;a href=&quot;about:blank&quot;&gt;&lt;i&gt;de]f&lt;/i&gt;&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;


DIFF URL:
https://build.webkit.org/results/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/306346@main%20(1319)/imported/w3c/web-platform-tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative_target=DesignMode-pretty-diff.html
https://build.webkit.org/results/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/306346@main%20(1319)/imported/w3c/web-platform-tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative_target=DesignMode&amp;parent=b&amp;child=i-pretty-diff.html


STEPS TO REPRODUCE:
I was able to reproduce on Tahoe Release ToT with the following:

run-webkit-test --no-retry --force --iterations 1000 --release imported/w3c/web-platform-tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative.html

I am going to mark expectations as pass fail while this pends investigation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2175884</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-01-28 11:04:46 -0800</bug_when>
    <thetext>&lt;rdar://problem/169110743&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2175885</commentid>
    <comment_count>2</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-01-28 11:13:47 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/57423</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2180930</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-02-12 14:27:51 -0800</bug_when>
    <thetext>Test gardening commit 307403@main (779ab467b0ec): &lt;https://commits.webkit.org/307403@main&gt;

Reviewed commits have been landed. Closing PR #57423 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>