Bug 231264

Summary: [iOS] fast/events/ios/rotation/layout-viewport-during-rotation.html is constantly failing.
Product: WebKit Reporter: ayumi_kojima
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: a_protyasha, ben_schwartz, sam, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=231269
https://bugs.webkit.org/show_bug.cgi?id=231266
https://bugs.webkit.org/show_bug.cgi?id=231315

ayumi_kojima
Reported 2021-10-05 16:21:31 PDT
fast/events/ios/rotation/layout-viewport-during-rotation.html Is failing on iOS 15 iPhone. History: https://results.webkit.org/?suite=layout-tests&test=fast%2Fevents%2Fios%2Frotation%2Flayout-viewport-during-rotation.html Diff: --- /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/fast/events/ios/rotation/layout-viewport-during-rotation-expected.txt +++ /Volumes/Data/worker/ios-simulator-15-debug-tests-wk2/build/layout-test-results/fast/events/ios/rotation/layout-viewport-during-rotation-actual.txt @@ -3,12 +3,12 @@ visualViewport: 0, 0 - 320 x 548 client rect of fixed object:0, 0 - 320 x 548 -In orientationchange event handler: +In resize event handler: layoutViewport: 0, 0 - 320 x 548 -visualViewport: 0, 0 - 320 x 548 +visualViewport: 0, 0 - 320 x 320 client rect of fixed object:0, 0 - 320 x 548 -In resize event handler: +In orientationchange event handler: layoutViewport: 0, 0 - 568 x 320 visualViewport: 0, 0 - 568 x 320 client rect of fixed object:0, 0 - 568 x 320 I believe the test was passing on iOS 14 when I looked at the history earlier and started failing on iOS 15.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-10-05 16:21:53 PDT
ayumi_kojima
Comment 2 2021-10-05 16:30:24 PDT
ayumi_kojima
Comment 3 2021-10-06 14:52:52 PDT
I was able to reproduce the failure locally on iOS 15 sim iPhone SE 2nd generation, but with a different diff: --- /Volumes/Data/Builds/ios/debugToTest/layout-test-results/fast/events/ios/rotation/layout-viewport-during-rotation-expected.txt +++ /Volumes/Data/Builds/ios/debugToTest/layout-test-results/fast/events/ios/rotation/layout-viewport-during-rotation-actual.txt @@ -1,20 +1,20 @@ Before rotation -layoutViewport: 0, 0 - 320 x 548 -visualViewport: 0, 0 - 320 x 548 -client rect of fixed object:0, 0 - 320 x 548 +layoutViewport: 0, 0 - 375 x 647 +visualViewport: 0, 0 - 375 x 647 +client rect of fixed object:0, 0 - 375 x 647 + +In resize event handler: +layoutViewport: 0, 0 - 375 x 647 +visualViewport: 0, 0 - 375 x 375 +client rect of fixed object:0, 0 - 375 x 647 In orientationchange event handler: -layoutViewport: 0, 0 - 320 x 548 -visualViewport: 0, 0 - 320 x 548 -client rect of fixed object:0, 0 - 320 x 548 - -In resize event handler: -layoutViewport: 0, 0 - 568 x 320 -visualViewport: 0, 0 - 568 x 320 -client rect of fixed object:0, 0 - 568 x 320 +layoutViewport: 0, 0 - 667 x 375 +visualViewport: 0, 0 - 667 x 375 +client rect of fixed object:0, 0 - 667 x 375 After rotation -layoutViewport: 0, 0 - 568 x 320 -visualViewport: 0, 0 - 568 x 320 -client rect of fixed object:0, 0 - 568 x 320 +layoutViewport: 0, 0 - 667 x 375 +visualViewport: 0, 0 - 667 x 375 +client rect of fixed object:0, 0 - 667 x 375
Ben Schwartz
Comment 4 2024-03-21 21:48:33 PDT
Removed "REGRESSION (iOS 15)" from the title, as this test was constantly failing before iOS 15.
Abrar Rahman Protyasha
Comment 5 2024-03-22 03:26:03 PDT
These are the results I currently get. Some of these make sense simply because the dimensions reported now correspond to iPhone 12 instead of iPhone SE (1st gen). The only result that seems wrong is the layoutViewport in the resize event handler. Both dimensions are height-like. ``` Before rotation layoutViewport: 0, 0 - 390 x 797 visualViewport: 0, 0 - 390 x 797 client rect of fixed object:0, 0 - 390 x 797 In resize event handler: layoutViewport: 0, 0 - 844 x 797 visualViewport: 0, 0 - 844 x 390 client rect of fixed object:0, 0 - 844 x 797 In orientationchange event handler: layoutViewport: 0, 0 - 844 x 390 visualViewport: 0, 0 - 844 x 390 client rect of fixed object:0, 0 - 844 x 390 After rotation layoutViewport: 0, 0 - 844 x 390 visualViewport: 0, 0 - 844 x 390 client rect of fixed object:0, 0 - 844 x 390 ```
Ben Schwartz
Comment 6 2024-06-20 11:53:28 PDT
Reverse duping this to bug #275696 / rdar://130212796, as it includes more tests that appear to have the same issue. *** This bug has been marked as a duplicate of bug 275696 ***
Note You need to log in before you can comment on or make changes to this bug.