[webkit-changes] [WebKit/WebKit] 88351a: [iPhone] 39miles.com link is rendered at single-co...
Wenson Hsieh
noreply at github.com
Tue Jul 11 19:27:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 88351aff0eb23703afdc698fec358ee21fc4227d
https://github.com/WebKit/WebKit/commit/88351aff0eb23703afdc698fec358ee21fc4227d
Author: Wenson Hsieh <wenson_hsieh at apple.com>
Date: 2023-07-11 (Tue, 11 Jul 2023)
Changed paths:
M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
M Tools/TestWebKitAPI/Tests/WebKit/AdvancedPrivacyProtections.mm
Log Message:
-----------
[iPhone] 39miles.com link is rendered at single-column layout in private browsing mode
https://bugs.webkit.org/show_bug.cgi?id=259129
rdar://112105451
Reviewed by Aditya Keerthi.
Add a missing 390pt screen dimension breakpoint when advanced privacy protections are enabled;
currently, this causes some websites that rely on the screen width for layout to assume that the
width of the page is larger than it actually is.
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::screenSizeForFingerprintingProtections const):
* Tools/TestWebKitAPI/Tests/WebKit/AdvancedPrivacyProtections.mm:
Also, augment an existing API test to verify that the new screen size breakpoint behaves as
expected.
Canonical link: https://commits.webkit.org/265979@main
More information about the webkit-changes
mailing list