<?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>290928</bug_id>
          
          <creation_ts>2025-04-02 10:03:20 -0700</creation_ts>
          <short_desc>New Test(292677@main): [ iOS ] editing/selection/ios/caret-rect-after-inserting-newlines-in-textarea.html is a constant failure.</short_desc>
          <delta_ts>2025-04-02 15:43:28 -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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yasmin Karimi">y_karimi</reporter>
          <assigned_to name="Wenson Hsieh">wenson_hsieh</assigned_to>
          <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2108217</commentid>
    <comment_count>0</comment_count>
    <who name="Yasmin Karimi">y_karimi</who>
    <bug_when>2025-04-02 10:03:20 -0700</bug_when>
    <thetext>editing/selection/ios/caret-rect-after-inserting-newlines-in-textarea.html

This test is a constant failure on iOS on iPad (9th generation) with arm64.

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=editing%2Fselection%2Fios%2Fcaret-rect-after-inserting-newlines-in-textarea.html

TEXT DIFF:

@@ -4,14 +4,15 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 PASS caretRects[0].height is caretRects[1].height
-PASS caretRects[0].height is caretRects[2].height
-PASS caretRects[0].height is caretRects[3].height
-PASS caretRects[0].height is caretRects[4].height
-PASS caretRects[0].height is caretRects[5].height
+FAIL caretRects[0].height should be 22.999998807907104. Was 23.
+FAIL caretRects[0].height should be 22.999998807907104. Was 23.
+FAIL caretRects[0].height should be 22.999998807907104. Was 23.
+FAIL caretRects[0].height should be 22.999998807907104. Was 23.
 PASS caretRects[4].top is caretRects[5].top
 PASS caretRects[5].width is &gt; 1
 PASS caretRects[5].height is &gt; 1
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE

DIFF URL:

https://build.webkit.org/results/Apple-iPadOS-18-Simulator-Release-WK2-Tests/293101@main%20(686)/editing/selection/ios/caret-rect-after-inserting-newlines-in-textarea-pretty-diff.html

REPRODICUBILITY:

I was able to reproduce this issue on the iOS 18.2 simulator at ToT using the following command:

run-webkit-tests --ios-simulator editing/selection/ios/caret-rect-after-inserting-newlines-in-textarea.html --iterations 10

REGRESSION:

This test appears to be failing since introduced at 292677@main.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2108220</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-04-02 10:14:56 -0700</bug_when>
    <thetext>&lt;rdar://problem/148441297&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2108236</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-04-02 10:44:35 -0700</bug_when>
    <thetext>Test gardening commit 293114@main (0cc875a20840): &lt;https://commits.webkit.org/293114@main&gt;

Reviewed commits have been landed. Closing PR #43472 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2108284</commentid>
    <comment_count>3</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2025-04-02 13:33:16 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/43483</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2108327</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-04-02 15:43:26 -0700</bug_when>
    <thetext>Committed 293127@main (2ef03feecfd2): &lt;https://commits.webkit.org/293127@main&gt;

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

    </bug>

</bugzilla>