Bug 245607

Summary: REBASELINE: [ iOS16 ] 3X imported/w3c/web-platform-tests/svg/(Layout tests) are constant failures
Product: WebKit Reporter: Hercules Hjalmarsson <hhjalmarsson>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Hercules Hjalmarsson 2022-09-23 15:53:22 PDT
imported/w3c/web-platform-tests/svg/path/distance/pathlength-path.svg
imported/w3c/web-platform-tests/svg/import/masking-path-04-b-manual.svg
imported/w3c/web-platform-tests/svg/import/animate-elem-35-t-manual.svg

Are 3 constant text failures on iOS16 ToT and since introduced on the queue. The all appear related/progressions and need to be rebaselined.

animate-elem-35-t-manual.svg and pathlength-path.svg are currently also failing on macOS. Unable to verify atm if those are also rebaseline issues and fix them due to expectation set.

HISTORY:
https://results.webkit.org/?suite=layout-tests&test=imported/w3c/web-platform-tests/svg/path/distance/pathlength-path.svg

DIFFS:
--- /Volumes/Data/worker/Apple-iOS-16-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-16-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/svg/path/distance/pathlength-path-actual.txt
@@ -1,5 +1,5 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
 layer at (0,0) size 800x600
-  RenderSVGRoot {svg} at (5,10) size 110x105
-    RenderSVGPath {path} at (5,10) size 110x105 [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash offset=1.00] [dash array={1.00, 1.00}] [path length=4.00]}] [data="M 10 10 L 110 10 L 110 110 L 10 110 Z"]
+  RenderSVGRoot {svg} at (5,10) size 110x100
+    RenderSVGPath {path} at (5,10) size 110x100 [stroke={[type=SOLID] [color=#000000] [stroke width=10.00] [dash offset=1.00] [dash array={1.00, 1.00}] [path length=4.00]}] [data="M 10 10 L 110 10 L 110 110 L 10 110 Z"]

--- /Volumes/Data/worker/Apple-iOS-16-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/svg/import/masking-path-04-b-manual-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-16-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/svg/import/masking-path-04-b-manual-actual.txt
@@ -3,21 +3,21 @@
 layer at (0,0) size 800x600
   RenderSVGRoot {svg} at (0,0) size 800x600
     RenderSVGHiddenContainer {defs} at (0,0) size 0x0
-    RenderSVGContainer {g} at (50,33) size 684x454
-      RenderSVGContainer {g} at (50,33) size 684x454
+    RenderSVGContainer {g} at (50,33) size 684x453
+      RenderSVGContainer {g} at (50,33) size 684x453
         RenderSVGHiddenContainer {defs} at (0,0) size 0x0
           RenderSVGResourceClipper {clipPath} [id="sample"] [clipPathUnits=userSpaceOnUse]
-            RenderSVGText {text} at (45,180) size 370x112 contains 1 chunk(s)
-              RenderSVGInlineText {#text} at (0,0) size 370x111
-                chunk 1 text run 1 at (45.00,270.00) startOffset 0 endOffset 9 width 369.06: "Clip Test"
+            RenderSVGText {text} at (45,169) size 355x123 contains 1 chunk(s)
+              RenderSVGInlineText {#text} at (0,0) size 355x123
+                chunk 1 text run 1 at (45.00,270.00) startOffset 0 endOffset 9 width 354.09: "Clip Test"
         RenderSVGContainer {g} at (50,33) size 684x234
           RenderSVGImage {image} at (50,33) size 684x234
-          RenderSVGText {text} at (55,40) size 370x112 contains 1 chunk(s)
-            RenderSVGInlineText {#text} at (0,0) size 370x111
-              chunk 1 text run 1 at (55.00,130.00) startOffset 0 endOffset 9 width 369.06: "Clip Test"
-        RenderSVGContainer {g} at (75,301) size 616x186
-          RenderSVGImage {image} at (75,301) size 616x186
-            [clipPath="sample"] RenderSVGResourceClipper {clipPath} at (45,180.89) size 369.08x111.02
+          RenderSVGText {text} at (55,29) size 355x123 contains 1 chunk(s)
+            RenderSVGInlineText {#text} at (0,0) size 355x123
+              chunk 1 text run 1 at (55.00,130.00) startOffset 0 endOffset 9 width 354.09: "Clip Test"
+        RenderSVGContainer {g} at (75,283) size 591x203
+          RenderSVGImage {image} at (75,283) size 591x203
+            [clipPath="sample"] RenderSVGResourceClipper {clipPath} at (45,169.19) size 354.09x122.13
     RenderSVGContainer {g} at (16,516) size 385x64
       RenderSVGText {text} at (10,310) size 231x38 contains 1 chunk(s)
         RenderSVGInlineText {#text} at (0,0) size 231x38

--- /Volumes/Data/worker/Apple-iOS-16-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/svg/import/animate-elem-35-t-manual-expected.txt
+++ /Volumes/Data/worker/Apple-iOS-16-Simulator-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/svg/import/animate-elem-35-t-manual-actual.txt
@@ -20,16 +20,16 @@
               RenderSVGPath {polyline} at (208,171) size 94x93 [stroke={[type=SOLID] [color=#FF0000] [line cap=ROUND] [line join=ROUND] [dash array={90.00, 20.00, 5.00, 15.00}]}] [points="140 115 200 115 140 175 200 175"]
             RenderSVGContainer {use} at (209,314) size 92x92
               RenderSVGPath {polyline} at (209,314) size 92x92 [stroke={[type=SOLID] [color=#FF0000] [line cap=SQUARE] [line join=BEVEL] [dash array={90.00, 20.00, 5.00, 15.00}]}] [points="140 210 200 210 140 270 200 270"]
-          RenderSVGContainer {g} at (3,11) size 84x413
-            RenderSVGPath {polyline} at (3,11) size 72x53 [stroke={[type=SOLID] [color=#808080] [stroke width=5.00] [dash offset=-50.00] [dash array={5.00, 5.00, 20.00}]}] [points="10 10 50 10 10 40 50 40"]
+          RenderSVGContainer {g} at (3,11) size 75x413
+            RenderSVGPath {polyline} at (12,11) size 63x53 [stroke={[type=SOLID] [color=#808080] [stroke width=5.00] [dash offset=-50.00] [dash array={5.00, 5.00, 20.00}]}] [points="10 10 50 10 10 40 50 40"]
             RenderSVGPath {polyline} at (15,71) size 63x53 [stroke={[type=SOLID] [color=#808080] [stroke width=5.00] [dash offset=-30.00] [dash array={5.00, 5.00, 20.00}]}] [points="10 50 50 50 10 80 50 80"]
             RenderSVGPath {polyline} at (15,131) size 63x53 [stroke={[type=SOLID] [color=#808080] [stroke width=5.00] [dash offset=-10.00] [dash array={5.00, 5.00, 20.00}]}] [points="10 90 50 90 10 120 50 120"]
-            RenderSVGPath {polyline} at (3,191) size 84x53 [stroke={[type=SOLID] [color=#808080] [stroke width=5.00] [dash array={5.00, 5.00, 20.00}]}] [points="10 130 50 130 10 160 50 160"]
-            RenderSVGPath {polyline} at (3,251) size 72x53 [stroke={[type=SOLID] [color=#808080] [stroke width=5.00] [dash offset=10.00] [dash array={5.00, 5.00, 20.00}]}] [points="10 170 50 170 10 200 50 200"]
+            RenderSVGPath {polyline} at (12,191) size 63x53 [stroke={[type=SOLID] [color=#808080] [stroke width=5.00] [dash array={5.00, 5.00, 20.00}]}] [points="10 130 50 130 10 160 50 160"]
+            RenderSVGPath {polyline} at (12,251) size 63x53 [stroke={[type=SOLID] [color=#808080] [stroke width=5.00] [dash offset=10.00] [dash array={5.00, 5.00, 20.00}]}] [points="10 170 50 170 10 200 50 200"]
             RenderSVGPath {polyline} at (15,311) size 63x53 [stroke={[type=SOLID] [color=#808080] [stroke width=5.00] [dash offset=30.00] [dash array={5.00, 5.00, 20.00}]}] [points="10 210 50 210 10 240 50 240"]
-            RenderSVGPath {polyline} at (3,371) size 84x53 [stroke={[type=SOLID] [color=#808080] [stroke width=5.00] [dash offset=50.00] [dash array={5.00, 5.00, 20.00}]}] [points="10 250 50 250 10 280 50 280"]
-          RenderSVGContainer {g} at (78,11) size 72x53
-            RenderSVGPath {polyline} at (78,11) size 72x53 [stroke={[type=SOLID] [color=#FF0000] [stroke width=5.00] [dash offset=-50.00] [dash array={5.00, 5.00, 20.00}]}] [points="60 10 100 10 60 40 100 40"]
+            RenderSVGPath {polyline} at (3,371) size 72x53 [stroke={[type=SOLID] [color=#808080] [stroke width=5.00] [dash offset=50.00] [dash array={5.00, 5.00, 20.00}]}] [points="10 250 50 250 10 280 50 280"]
+          RenderSVGContainer {g} at (87,11) size 63x53
+            RenderSVGPath {polyline} at (87,11) size 63x53 [stroke={[type=SOLID] [color=#FF0000] [stroke width=5.00] [dash offset=-50.00] [dash array={5.00, 5.00, 20.00}]}] [points="60 10 100 10 60 40 100 40"]
         RenderSVGContainer {g} at (487,7) size 187x423 [transform={m=((2.50,0.00)(0.00,2.50)) t=(325.00,5.00)}]
           RenderSVGContainer {g} at (487,7) size 187x198
             RenderSVGContainer {g} at (490,7) size 181x198
Comment 1 Radar WebKit Bug Importer 2022-09-23 15:53:43 PDT
<rdar://problem/100344001>
Comment 2 Hercules Hjalmarsson 2022-09-23 16:24:39 PDT
This issue can be reproduced using command:

run-webkit-tests --iterations=2  --ios-simulator  imported/w3c/web-platform-tests/svg/import/animate-elem-35-t-manual.svg
Comment 4 EWS 2022-09-23 16:30:33 PDT
Test gardening commit 254810@main (86f72c82f8bd): <https://commits.webkit.org/254810@main>

Reviewed commits have been landed. Closing PR #4655 and removing active labels.