Bug 217258

Summary: REGRESSION(iOS 14): svg/W3C-I18N/tspan-direction-rtl.svg is a constant failure
Product: WebKit Reporter: Hector Lopez <hector_i_lopez>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, jenner, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Hector Lopez 2020-10-02 16:12:15 PDT
svg/W3C-I18N/tspan-direction-rtl.svg

Test is a constant failure on iOS according to history. First occurrence matches first recorded testing on iOS 14 from iOS 13. Test was passing on iOS 13 prior to moving over to iOS 14.

History:

https://results.webkit.org/?suite=layout-tests&test=svg%2FW3C-I18N%2Ftspan-direction-rtl.svg&platform=ios

Diff:

--- /Volumes/Data/slave/ios-simulator-14-release-tests-wk2/build/layout-test-results/svg/W3C-I18N/tspan-direction-rtl-expected.txt
+++ /Volumes/Data/slave/ios-simulator-14-release-tests-wk2/build/layout-test-results/svg/W3C-I18N/tspan-direction-rtl-actual.txt
@@ -8,8 +8,8 @@
           chunk 1 (middle anchor) text run 1 at (280.99,150.00) startOffset 0 endOffset 14 width 94.08 RTL: "\x{646}\x{634}\x{627}\x{637} \x{627}\x{644}\x{62A}\x{62F}\x{648}\x{64A}\x{644} \""
         RenderSVGTSpan {tspan} at (0,0) size 186x21
           RenderSVGInlineText {#text} at (11,0) size 185x21
-            chunk 1 (middle anchor) text run 1 at (96.32,150.00) startOffset 0 endOffset 8 width 49.95 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
-            chunk 1 (middle anchor) text run 1 at (146.27,150.00) startOffset 0 endOffset 14 width 134.73: "dirRTL ubEmbed"
+            chunk 1 (middle anchor) text run 1 at (96.32,150.00) startOffset 0 endOffset 8 width 49.61 RTL: ", \x{627}\x{62E}\x{62A}\x{628}\x{627}\x{631}"
+            chunk 1 (middle anchor) text run 1 at (145.92,150.00) startOffset 0 endOffset 14 width 135.07: "dirRTL ubEmbed"
         RenderSVGInlineText {#text} at (0,0) size 12x21
           chunk 1 (middle anchor) text run 1 at (84.93,150.00) startOffset 0 endOffset 2 width 11.39 RTL: "\"!"
       RenderSVGText {text} at (20,171) size 84x12 contains 1 chunk(s)

Was able to reproduce this with latest spade as of the date of this report:

run-webkit-tests svg/W3C-I18N/tspan-direction-rtl.svg  --iterations 1000 --ios-simulator --exit-after-n-failures 3

Baseline search path: platform/ios-simulator-wk2 -> platform/ios-simulator -> platform/ios-wk2 -> platform/ios -> platform/wk2 -> generic

Running 1 test for iPhone SE running iOS

Running 1 WebKitTestRunnerApp.app.

[1/1000] svg/W3C-I18N/tspan-direction-rtl.svg failed unexpectedly (text diff)
[2/1000] svg/W3C-I18N/tspan-direction-rtl.svg failed unexpectedly (text diff)
[3/1000] svg/W3C-I18N/tspan-direction-rtl.svg failed unexpectedly (text diff)
Exiting early after 3 failures. 3 tests run.


0 tests ran as expected, 3 didn't (997 didn't run):


Regressions: Unexpected text-only failures (1)
  svg/W3C-I18N/tspan-direction-rtl.svg [ Failure ]
Comment 1 Radar WebKit Bug Importer 2020-10-02 16:14:01 PDT
<rdar://problem/69901023>
Comment 2 Hector Lopez 2020-10-02 16:29:09 PDT
Test expectation while investigated:

https://trac.webkit.org/changeset/267901/webkit
Comment 3 Robert Jenner 2021-12-07 15:37:07 PST
Rebased test here:
https://trac.webkit.org/changeset/286626/webkit

Removed prior expectation set for test here:
https://trac.webkit.org/changeset/286627/webkit
Comment 4 Brent Fulgham 2022-02-12 18:55:56 PST
Rebase was successful.