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, simon.fraser, 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

Ben Schwartz
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-08-16 15:07:53 PDT
EWS
Comment 2 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.
Simon Fraser (smfr)
Comment 3 2026-04-06 11:52:27 PDT
These are off by the scrollbar width (15px) because, on iOS, we don't respect the "RTL scrollbars are on the left" preference.
Note You need to log in before you can comment on or make changes to this bug.