Changeset 200664 in webkit


Ignore:
Timestamp:
May 10, 2016 6:55:42 PM (8 years ago)
Author:
Simon Fraser
Message:

[iOS WK1] text autosizing was on for all layout tests
https://bugs.webkit.org/show_bug.cgi?id=157541

Reviewed by Tim Horton.

Make sure that we transfer the WK1 text autosizing preference to Settings.

  • WebView/WebView.mm:

(-[WebView _preferencesChanged:]):

Location:
trunk/Source/WebKit/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/mac/ChangeLog

    r200599 r200664  
     12016-05-10  Simon Fraser  <simon.fraser@apple.com>
     2
     3        [iOS WK1] text autosizing was on for all layout tests
     4        https://bugs.webkit.org/show_bug.cgi?id=157541
     5
     6        Reviewed by Tim Horton.
     7
     8        Make sure that we transfer the WK1 text autosizing preference to Settings.
     9
     10        * WebView/WebView.mm:
     11        (-[WebView _preferencesChanged:]):
     12
    1132016-05-09  Tim Horton  <timothy_horton@apple.com>
    214
  • trunk/Source/WebKit/mac/WebView/WebView.mm

    r200524 r200664  
    24012401#if ENABLE(IOS_TEXT_AUTOSIZING)
    24022402    settings.setMinimumZoomFontSize([preferences _minimumZoomFontSize]);
     2403    settings.setTextAutosizingEnabled([preferences _textAutosizingEnabled]);
    24032404#endif
    24042405#endif // PLATFORM(IOS)
Note: See TracChangeset for help on using the changeset viewer.