Bug 260310

Summary: REGRESSION(266775@main): [ iOS ] 2 tests under imported/w3c/web-platform-tests/css/cssom-view/ (scrollIntoView-sideways-rl-writing-mode-and-rtl-direction.html and scrollIntoView-sideways-rl-writing-mode.html) are constant text failures.
Product: WebKit Reporter: Ben Schwartz <ben_schwartz>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: mmaxfield, ntim, webkit-bot-watchers-bugzilla, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=260012

Description Ben Schwartz 2023-08-16 15:07:43 PDT
imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-sideways-rl-writing-mode.html
imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-sideways-rl-writing-mode-and-rtl-direction.html

These tests are constant failures on iOS 16.

HISTORY:

https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fcss%2Fcssom-view%2FscrollIntoView-sideways-rl-writing-mode.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fcss%2Fcssom-view%2FscrollIntoView-sideways-rl-writing-mode-and-rtl-direction.html

TEXT DIFF (both equivalent):

-PASS scrollIntoView({"block":"start","inline":"start"})
-PASS scrollIntoView({"block":"start","inline":"center"})
-PASS scrollIntoView({"block":"start","inline":"end"})
-PASS scrollIntoView({"block":"center","inline":"start"})
-PASS scrollIntoView({"block":"center","inline":"center"})
-PASS scrollIntoView({"block":"center","inline":"end"})
-PASS scrollIntoView({"block":"end","inline":"start"})
-PASS scrollIntoView({"block":"end","inline":"center"})
-PASS scrollIntoView({"block":"end","inline":"end"})
+FAIL scrollIntoView({"block":"start","inline":"start"}) assert_approx_equals: scrollX expected -200 +/- 0.5 but got -185
+FAIL scrollIntoView({"block":"start","inline":"center"}) assert_approx_equals: scrollX expected -200 +/- 0.5 but got -185
+FAIL scrollIntoView({"block":"start","inline":"end"}) assert_approx_equals: scrollX expected -200 +/- 0.5 but got -185
+FAIL scrollIntoView({"block":"center","inline":"start"}) assert_approx_equals: scrollX expected -157.5 +/- 0.5 but got -143
+FAIL scrollIntoView({"block":"center","inline":"center"}) assert_approx_equals: scrollX expected -157.5 +/- 0.5 but got -143
+FAIL scrollIntoView({"block":"center","inline":"end"}) assert_approx_equals: scrollX expected -157.5 +/- 0.5 but got -143
+FAIL scrollIntoView({"block":"end","inline":"start"}) assert_approx_equals: scrollX expected -115 +/- 0.5 but got -100
+FAIL scrollIntoView({"block":"end","inline":"center"}) assert_approx_equals: scrollX expected -115 +/- 0.5 but got -100
+FAIL scrollIntoView({"block":"end","inline":"end"}) assert_approx_equals: scrollX expected -115 +/- 0.5 but got -100
 
DIFF URL (both equivalent):

https://build.webkit.org/results/Apple-iOS-16-Simulator-Release-GPUProcess-WK2-Tests/266776@main%20(2149)/imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-sideways-rl-writing-mode-and-rtl-direction-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this bug on the iOS 16 Simulator ToT running the test as follows:

run-webkit-tests --clobber-old-results --ios-simulator --iterations 5 --verbose imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-sideways-rl-writing-mode-and-rtl-direction.html imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-sideways-rl-writing-mode.html

REGRESSION:

I was able to bisect a regression point using the flakiness dashboard. This test reproduced at 266775@main, but it did not reproduce at 266774@main. Changes at 266775@main appear to be directly related to this error, and is likely what caused the failure.
Comment 1 Radar WebKit Bug Importer 2023-08-16 15:07:53 PDT
<rdar://problem/113990281>
Comment 2 EWS 2023-08-16 15:14:43 PDT
Test gardening commit 266966@main (facb8c70c640): <https://commits.webkit.org/266966@main>

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