Changeset 246357 in webkit


Ignore:
Timestamp:
Jun 12, 2019 9:45:39 AM (5 years ago)
Author:
Wenson Hsieh
Message:

Many layout tests are failing on iPad simulator due to unexpected viewport dimensions
https://bugs.webkit.org/show_bug.cgi?id=198789
<rdar://problem/51595519>

Reviewed by Simon Fraser.

Prevent the shrink-to-fit-content timer from activating on layout tests that use the testing viewport
configuration.

  • WebProcess/WebPage/ios/WebPageIOS.mm:

(WebKit::WebPage::immediatelyShrinkToFitContent):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r246353 r246357  
     12019-06-12  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        Many layout tests are failing on iPad simulator due to unexpected viewport dimensions
     4        https://bugs.webkit.org/show_bug.cgi?id=198789
     5        <rdar://problem/51595519>
     6
     7        Reviewed by Simon Fraser.
     8
     9        Prevent the shrink-to-fit-content timer from activating on layout tests that use the testing viewport
     10        configuration.
     11
     12        * WebProcess/WebPage/ios/WebPageIOS.mm:
     13        (WebKit::WebPage::immediatelyShrinkToFitContent):
     14
    1152019-06-12  Michael Catanzaro  <mcatanzaro@igalia.com>
    216
  • trunk/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

    r246348 r246357  
    32703270        return false;
    32713271
     3272    if (m_useTestingViewportConfiguration)
     3273        return false;
     3274
    32723275    if (!shouldIgnoreMetaViewport())
    32733276        return false;
Note: See TracChangeset for help on using the changeset viewer.