Bug 231264
Summary: | [iOS] fast/events/ios/rotation/layout-viewport-during-rotation.html is constantly failing. | ||
---|---|---|---|
Product: | WebKit | Reporter: | ayumi_kojima |
Component: | New Bugs | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/83909591>
ayumi_kojima
Marked test expectations https://trac.webkit.org/changeset/283584/webkit
ayumi_kojima
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
Removed "REGRESSION (iOS 15)" from the title, as this test was constantly failing before iOS 15.
Abrar Rahman Protyasha
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
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 ***