[Webkit-unassigned] [Bug 275350] New: Changing the width value of WKWebView allows the displayed website to be moved to a larger size
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 11 04:01:01 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=275350
Bug ID: 275350
Summary: Changing the width value of WKWebView allows the
displayed website to be moved to a larger size
Product: WebKit
Version: Other
Hardware: iPhone / iPad
OS: iOS 17
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fuka.takashima at dena.jp
Created attachment 471647
--> https://bugs.webkit.org/attachment.cgi?id=471647&action=review
screen recording
When the iPhone is in Landscape, changing the width value of WKWebView may allow a website displayed in WKWebView to be moved larger.
When displaying the Apple website, this bug occurs at the following widths.
- iPhone 15
- wkweview width: 331.0, web content width: 331.0
- wkweview width: 338.5, web content width: 338.0
- iPhone 15 Pro
- wkweview width: 332.0, web content width: 332.0
- wkweview width: 400.5, web content width: 400
web content width is the width of the website as verified by Safari's Web Inspector.
The width at which this bug reproduces may vary depending on the device and the website being viewed.
I have confirmed that the element does not overhang using Safari's WebInspector. I don't think it's a viewport issue, as sometimes it doesn't go away even after page transitions.
We have created a sample application to reproduce this issue. You can build and check it.
https://github.com/f426k/webview-sample-app
I have attached a screen recording and screenshot of when this bug is reproduced.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240611/ea4c75c0/attachment-0001.htm>
More information about the webkit-unassigned
mailing list