Bug 235684

Summary: iOS: Touch events shifted after device rotation if position:fixed is specified.
Product: WebKit Reporter: Takao Baba <baba>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, thorton, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: Unspecified   
Attachments:
Description Flags
testcase and screenshot none

Description Takao Baba 2022-01-26 19:45:33 PST
Created attachment 450095 [details]
testcase and screenshot

# Steps to reproduce

1. Open attached index.html on iPhone Safari in portrait orientation.
2. Rotate the device to landscape.
3. An extra margin exists at the bottom of the screen. (I'm not sure this is a correct behavior, but looks weird.) 
4. Tap the top of the screen, then the URL bar appears and the contents shifts down.

# Expected behavior

Touch events should work properly.

# Actual behavior

Touch events respond as if the contents was not shifted down. See step4.png.

# Note

I've tested on iPhone iOS 15.3

Looks related to https://bugs.webkit.org/show_bug.cgi?id=235171
Comment 1 Radar WebKit Bug Importer 2022-02-02 19:46:24 PST
<rdar://problem/88414755>