Changeset 224822 in webkit


Ignore:
Timestamp:
Nov 14, 2017 11:01:22 AM (6 years ago)
Author:
Antti Koivisto
Message:

Enable display:contents by default
https://bugs.webkit.org/show_bug.cgi?id=179655

Reviewed by Sam Weinig.

Source/WebCore:

  • page/RuntimeEnabledFeatures.h:

Source/WebKit:

  • Shared/WebPreferences.yaml:

Make non-experimental and enabled.

Source/WebKitLegacy/mac:

  • WebView/WebPreferences.mm:

(+[WebPreferences initialize]):

Tools:

No need to enable this specifically for tests anymore.

  • DumpRenderTree/mac/DumpRenderTree.mm:

(enableExperimentalFeatures):

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::resetPreferencesToConsistentValues):

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r224820 r224822  
     12017-11-14  Antti Koivisto  <antti@apple.com>
     2
     3        Enable display:contents by default
     4        https://bugs.webkit.org/show_bug.cgi?id=179655
     5
     6        Reviewed by Sam Weinig.
     7
     8        * page/RuntimeEnabledFeatures.h:
     9
    1102017-11-14  Zan Dobersek  <zdobersek@igalia.com>
    211
  • trunk/Source/WebCore/page/RuntimeEnabledFeatures.h

    r224457 r224822  
    241241    bool m_isSecureContextAttributeEnabled { false };
    242242
    243     bool m_isDisplayContentsEnabled { false };
     243    bool m_isDisplayContentsEnabled { true };
    244244    bool m_isShadowDOMEnabled { true };
    245245    bool m_areCustomElementsEnabled { true };
  • trunk/Source/WebKit/ChangeLog

    r224821 r224822  
     12017-11-14  Antti Koivisto  <antti@apple.com>
     2
     3        Enable display:contents by default
     4        https://bugs.webkit.org/show_bug.cgi?id=179655
     5
     6        Reviewed by Sam Weinig.
     7
     8        * Shared/WebPreferences.yaml:
     9
     10        Make non-experimental and enabled.
     11
    1122017-11-10  Brent Fulgham  <bfulgham@apple.com>
    213
  • trunk/Source/WebKit/Shared/WebPreferences.yaml

    r224457 r224822  
    787787  humanReadableName: "Viewport Fit"
    788788  humanReadableDescription: "Enable viewport-fit viewport parameter"
     789
     790DisplayContentsEnabled:
     791  type: bool
     792  defaultValue: true
     793  humanReadableName: "CSS display: contents"
     794  humanReadableDescription: "Enable CSS display: contents support"
     795  webcoreBinding: RuntimeEnabledFeatures
    789796
    790797IncrementalRenderingSuppressionTimeout:
     
    10601067  category: experimental
    10611068
    1062 DisplayContentsEnabled:
    1063   type: bool
    1064   defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
    1065   humanReadableName: "CSS display: contents"
    1066   humanReadableDescription: "Enable CSS display: contents support"
    1067   category: experimental
    1068   webcoreBinding: RuntimeEnabledFeatures
    1069 
    10701069SpringTimingFunctionEnabled:
    10711070  type: bool
  • trunk/Source/WebKitLegacy/mac/ChangeLog

    r224791 r224822  
     12017-11-14  Antti Koivisto  <antti@apple.com>
     2
     3        Enable display:contents by default
     4        https://bugs.webkit.org/show_bug.cgi?id=179655
     5
     6        Reviewed by Sam Weinig.
     7
     8        * WebView/WebPreferences.mm:
     9        (+[WebPreferences initialize]):
     10
    1112017-11-13  Alex Christensen  <achristensen@webkit.org>
    212
  • trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm

    r224457 r224822  
    664664        @NO, WebKitIntersectionObserverEnabledPreferenceKey,
    665665#endif
    666         @NO, WebKitDisplayContentsEnabledPreferenceKey,
     666        @YES, WebKitDisplayContentsEnabledPreferenceKey,
    667667        @NO, WebKitUserTimingEnabledPreferenceKey,
    668668        @NO, WebKitResourceTimingEnabledPreferenceKey,
  • trunk/Tools/ChangeLog

    r224819 r224822  
     12017-11-14  Antti Koivisto  <antti@apple.com>
     2
     3        Enable display:contents by default
     4        https://bugs.webkit.org/show_bug.cgi?id=179655
     5
     6        Reviewed by Sam Weinig.
     7
     8        No need to enable this specifically for tests anymore.
     9
     10        * DumpRenderTree/mac/DumpRenderTree.mm:
     11        (enableExperimentalFeatures):
     12        * WebKitTestRunner/TestController.cpp:
     13        (WTR::TestController::resetPreferencesToConsistentValues):
     14
    1152017-11-14  Tim Horton  <timothy_horton@apple.com>
    216
  • trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm

    r224796 r224822  
    841841{
    842842    [preferences setCSSGridLayoutEnabled:YES];
    843     [preferences setDisplayContentsEnabled:YES];
    844843    // FIXME: SpringTimingFunction
    845844    [preferences setGamepadsEnabled:YES];
  • trunk/Tools/WebKitTestRunner/TestController.cpp

    r224796 r224822  
    682682    WKPreferencesSetTabToLinksEnabled(preferences, false);
    683683    WKPreferencesSetInteractiveFormValidationEnabled(preferences, true);
    684     WKPreferencesSetDisplayContentsEnabled(preferences, true);
    685684    WKPreferencesSetDataTransferItemsEnabled(preferences, true);
    686685    WKPreferencesSetCustomPasteboardDataEnabled(preferences, true);
Note: See TracChangeset for help on using the changeset viewer.