<?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>262797</bug_id>
          
          <creation_ts>2023-10-06 10:37:28 -0700</creation_ts>
          <short_desc>[ iOS ] fast/forms/input-baseline.html is a constant text failure.</short_desc>
          <delta_ts>2023-10-25 10:46:41 -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>Forms</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=262829</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=262489</see_also>
          <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="Ben Schwartz">ben_schwartz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <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>1983255</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-10-06 10:37:28 -0700</bug_when>
    <thetext>fast/forms/input-baseline.html

This test is constantly failing with a text diff on iOS.

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Fforms%2Finput-baseline.html&amp;recent=false&amp;platform=ios

TEXT DIFF:

layer at (0,0) size 800x600
  RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
  RenderBlock {HTML} at (0,0) size 800x600
    RenderBody {BODY} at (8,8) size 784x584
      RenderText {#text} at (0,0) size 299x19
        text run at (0,0) width 299: &quot;This tests that text fields get the right baseline.&quot;
      RenderBR {BR} at (298,0) size 1x19
      RenderBR {BR} at (0,20) size 0x19
      RenderTextControl {INPUT} at (0,41) size 155x22 [bgcolor=#FFFFFF] [border: (1px solid #3C3C4399)]
      RenderText {#text} at (154,40) size 432x19
        text run at (154,40) width 432: &quot;This text should line up with the bottom of the text in the text field.&quot;
      RenderBR {BR} at (585,40) size 1x19
      RenderBR {BR} at (0,62) size 0x19
      RenderTextControl {INPUT} at (0,83) size 155x22 [bgcolor=#FFFFFF] [border: (1px solid #3C3C4399)]
      RenderText {#text} at (154,82) size 432x19
        text run at (154,82) width 432: &quot;This text should line up with the bottom of the text in the text field.&quot;
layer at (15,52) size 141x14
  RenderBlock {DIV} at (6,3) size 143x15
layer at (15,94) size 141x14
  RenderBlock {DIV} at (6,3) size 143x15

DIFF URL:

https://build.webkit.org/results/Apple-iOS-17-Simulator-Release-WK2-Tests/268988@main%20(73)/fast/forms/input-baseline-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this issue on the iOS 17 Simulator (17.0.1 / 21A340) ToT using the following command:

run-webkit-tests --ios-simulator --clobber-old-results --verbose --no-new-test-results --force fast/forms/input-baseline.html

REGRESSION:

This test has been constantly failing since iOS 13 at the latest. As the failure has been occurring prior to the earliest results dashboard entries, I am unable to definitively locate a regression point for this issue.

NOTES:

A test expectation has already been set for this issue, but the contributor did not create an issue. It appears the commit that added it was 157624@main.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1983256</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-10-06 10:37:47 -0700</bug_when>
    <thetext>&lt;rdar://problem/116587149&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1983284</commentid>
    <comment_count>2</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-10-06 11:48:20 -0700</bug_when>
    <thetext>DIFF CORRECTION:

 layer at (0,0) size 800x600
   RenderBlock {HTML} at (0,0) size 800x600
     RenderBody {BODY} at (8,8) size 784x584
-      RenderText {#text} at (0,0) size 293x18
-        text run at (0,0) width 293: &quot;This tests that text fields get the right baseline. &quot;
-      RenderBR {BR} at (293,14) size 0x0
-      RenderBR {BR} at (0,18) size 0x18
-      RenderTextControl {INPUT} at (2,38) size 123x19 [bgcolor=#FFFFFF] [border: (2px inset #808080)]
-      RenderText {#text} at (127,38) size 424x18
-        text run at (127,38) width 424: &quot;This text should line up with the bottom of the text in the text field. &quot;
-      RenderBR {BR} at (551,52) size 0x0
-      RenderBR {BR} at (0,59) size 0x18
-      RenderTextControl {INPUT} at (2,79) size 123x132 [bgcolor=#FFFFFF] [border: (2px inset #808080)]
-      RenderText {#text} at (127,171) size 420x18
-        text run at (127,171) width 420: &quot;This text should line up with the bottom of the text in the text field.&quot;
-layer at (13,49) size 117x13
-  RenderBlock {DIV} at (3,3) size 117x13
-layer at (13,90) size 117x126
-  RenderBlock {DIV} at (3,3) size 117x126
+      RenderText {#text} at (0,0) size 299x19
+        text run at (0,0) width 299: &quot;This tests that text fields get the right baseline.&quot;
+      RenderBR {BR} at (298,0) size 1x19
+      RenderBR {BR} at (0,20) size 0x19
+      RenderTextControl {INPUT} at (0,41) size 155x22 [bgcolor=#FFFFFF] [border: (1px solid #3C3C4399)]
+      RenderText {#text} at (154,40) size 432x19
+        text run at (154,40) width 432: &quot;This text should line up with the bottom of the text in the text field.&quot;
+      RenderBR {BR} at (585,40) size 1x19
+      RenderBR {BR} at (0,62) size 0x19
+      RenderTextControl {INPUT} at (0,83) size 155x22 [bgcolor=#FFFFFF] [border: (1px solid #3C3C4399)]
+      RenderText {#text} at (154,82) size 432x19
+        text run at (154,82) width 432: &quot;This text should line up with the bottom of the text in the text field.&quot;
+layer at (15,52) size 141x14
+  RenderBlock {DIV} at (6,3) size 143x15
+layer at (15,94) size 141x14
+  RenderBlock {DIV} at (6,3) size 143x15</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>