Bug 262797 - [ iOS ] fast/forms/input-baseline.html is a constant text failure.
Summary: [ iOS ] fast/forms/input-baseline.html is a constant text failure.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-06 10:37 PDT by Ben Schwartz
Modified: 2023-10-25 10:46 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Schwartz 2023-10-06 10:37:28 PDT
fast/forms/input-baseline.html

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

HISTORY:

https://results.webkit.org/?suite=layout-tests&test=fast%2Fforms%2Finput-baseline.html&recent=false&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: "This tests that text fields get the right baseline."
      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: "This text should line up with the bottom of the text in the text field."
      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: "This text should line up with the bottom of the text in the text field."
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.
Comment 1 Radar WebKit Bug Importer 2023-10-06 10:37:47 PDT
<rdar://problem/116587149>
Comment 2 Ben Schwartz 2023-10-06 11:48:20 PDT
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: "This tests that text fields get the right baseline. "
-      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: "This text should line up with the bottom of the text in the text field. "
-      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: "This text should line up with the bottom of the text in the text field."
-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: "This tests that text fields get the right baseline."
+      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: "This text should line up with the bottom of the text in the text field."
+      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: "This text should line up with the bottom of the text in the text field."
+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