Bug 286507

Summary: [ iOS ] compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html is flakily failing.
Product: WebKit Reporter: Yasmin Karimi <y_karimi>
Component: CompositingAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: ben_schwartz, jbedard, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Yasmin Karimi
Reported 2025-01-24 14:42:48 PST
compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html This test is flakily failing on iOS. HISTORY: https://results.webkit.org/?suite=layout-tests&test=compositing%2Fgeometry%2Ffixed-position-composited-page-scale-smaller-than-viewport.html TEXT DIFF: @@ -5,11 +5,12 @@ PASS rectsBeforeStyleChange.length is 1 PASS rectsBeforeStyleChange.length is rectsAfterStyleChange.length -PASS rectsBeforeStyleChange[0].top is rectsAfterStyleChange[0].top -PASS rectsBeforeStyleChange[0].left is rectsAfterStyleChange[0].left +FAIL rectsBeforeStyleChange[0].top should be 47. Was 46.99999713897705. +FAIL rectsBeforeStyleChange[0].left should be 74. Was 74.0000057220459. PASS rectsBeforeStyleChange[0].width is rectsAfterStyleChange[0].width PASS rectsBeforeStyleChange[0].height is rectsAfterStyleChange[0].height PASS successfullyParsed is true +Some tests failed. TEST COMPLETE DIFF URL: https://build.webkit.org/results/Apple-iPadOS-18-Simulator-Release-WK2-Tests/289317@main%20(266)/editing/selection/ios/selection-moves-between-composited-layers-pretty-diff.html REPRODUCIBILITY: I was able to reproduce this issue on the iOS 18.2 simulator at ToT using the following command: run-webkit-tests --ios-simulator compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html --iterations 15
Attachments
Radar WebKit Bug Importer
Comment 1 2025-01-24 14:42:58 PST
EWS
Comment 2 2025-01-24 16:10:25 PST
Test gardening commit 289373@main (99cc0d3dc30a): <https://commits.webkit.org/289373@main> Reviewed commits have been landed. Closing PR #39523 and removing active labels.
Ben Schwartz
Comment 3 2025-01-30 08:41:17 PST
I suspect this regressed at 282170@main -- that was a pretty big structural change that touches code paths related to this test. I believe that's most likely causing a race condition in a layout tests setting.
Jonathan Bedard
Comment 4 2025-12-11 10:40:18 PST
This test appears to be an ImageDiff test, and I don't understand the original analysis from Yasmin. Today, compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html only fails with ImageDiff, if you look at https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=compositing%2Fgeometry%2Ffixed-position-composited-page-scale-smaller-than-viewport.html. When you look into the diffs, it seems like we're not focusing correctly.
Jonathan Bedard
Comment 5 2025-12-11 10:47:44 PST
Removing the "Regression" tag because I think this is about taking a snapshot too quickly. I have a speculative fix, which I will upload, but I haven't gotten a chance to validate because I don't have an iOS Simulator handy right this moment.
Jonathan Bedard
Comment 6 2025-12-11 10:51:03 PST
EWS
Comment 7 2026-01-09 13:22:43 PST
Committed 305376@main (6c3e4e8af893): <https://commits.webkit.org/305376@main> Reviewed commits have been landed. Closing PR #55258 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.