Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d63730149a7e76f2964e5a5b466faf2633ec5d8e
      
https://github.com/WebKit/WebKit/commit/d63730149a7e76f2964e5a5b466faf2633ec5d8e
  Author: Wenson Hsieh <[email protected]>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebKit/WebProcess/WebPage/WebPage.h
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

  Log Message:
  -----------
  Add a runtime setting to disable text autosizing at initial scale > 1
https://bugs.webkit.org/show_bug.cgi?id=275187
rdar://129310585

Reviewed by Aditya Keerthi.

Conditionally enable text autosizing, based on whether the initial scale.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebKit/WebProcess/WebPage/WebPage.h:
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::updateTextAutosizingEnablementFromInitialScale):

Disable text autosizing if and only if the initial scale is greater than 1 (and 
text is going to be
legible anyways).

(WebKit::WebPage::viewportConfigurationChanged):

Canonical link: https://commits.webkit.org/279774@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to