Title: [224822] trunk
Revision
224822
Author
[email protected]
Date
2017-11-14 11:01:22 -0800 (Tue, 14 Nov 2017)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (224821 => 224822)


--- trunk/Source/WebCore/ChangeLog	2017-11-14 18:36:27 UTC (rev 224821)
+++ trunk/Source/WebCore/ChangeLog	2017-11-14 19:01:22 UTC (rev 224822)
@@ -1,3 +1,12 @@
+2017-11-14  Antti Koivisto  <[email protected]>
+
+        Enable display:contents by default
+        https://bugs.webkit.org/show_bug.cgi?id=179655
+
+        Reviewed by Sam Weinig.
+
+        * page/RuntimeEnabledFeatures.h:
+
 2017-11-14  Zan Dobersek  <[email protected]>
 
         [Cairo] Move drawLine operation from GraphicsContextCairo to CairoOperations

Modified: trunk/Source/WebCore/page/RuntimeEnabledFeatures.h (224821 => 224822)


--- trunk/Source/WebCore/page/RuntimeEnabledFeatures.h	2017-11-14 18:36:27 UTC (rev 224821)
+++ trunk/Source/WebCore/page/RuntimeEnabledFeatures.h	2017-11-14 19:01:22 UTC (rev 224822)
@@ -240,7 +240,7 @@
     bool m_isCredentialManagementEnabled { false };
     bool m_isSecureContextAttributeEnabled { false };
 
-    bool m_isDisplayContentsEnabled { false };
+    bool m_isDisplayContentsEnabled { true };
     bool m_isShadowDOMEnabled { true };
     bool m_areCustomElementsEnabled { true };
     bool m_isMenuItemElementEnabled { false };

Modified: trunk/Source/WebKit/ChangeLog (224821 => 224822)


--- trunk/Source/WebKit/ChangeLog	2017-11-14 18:36:27 UTC (rev 224821)
+++ trunk/Source/WebKit/ChangeLog	2017-11-14 19:01:22 UTC (rev 224822)
@@ -1,3 +1,14 @@
+2017-11-14  Antti Koivisto  <[email protected]>
+
+        Enable display:contents by default
+        https://bugs.webkit.org/show_bug.cgi?id=179655
+
+        Reviewed by Sam Weinig.
+
+        * Shared/WebPreferences.yaml:
+
+        Make non-experimental and enabled.
+
 2017-11-10  Brent Fulgham  <[email protected]>
 
         Consolidate mach-lookup calls in WebProcess sandbox

Modified: trunk/Source/WebKit/Shared/WebPreferences.yaml (224821 => 224822)


--- trunk/Source/WebKit/Shared/WebPreferences.yaml	2017-11-14 18:36:27 UTC (rev 224821)
+++ trunk/Source/WebKit/Shared/WebPreferences.yaml	2017-11-14 19:01:22 UTC (rev 224822)
@@ -787,6 +787,13 @@
   humanReadableName: "Viewport Fit"
   humanReadableDescription: "Enable viewport-fit viewport parameter"
 
+DisplayContentsEnabled:
+  type: bool
+  defaultValue: true
+  humanReadableName: "CSS display: contents"
+  humanReadableDescription: "Enable CSS display: contents support"
+  webcoreBinding: RuntimeEnabledFeatures
+
 IncrementalRenderingSuppressionTimeout:
   type: double
   defaultValue: 5
@@ -1059,14 +1066,6 @@
   humanReadableDescription: "Enable CSS constant() properties"
   category: experimental
 
-DisplayContentsEnabled:
-  type: bool
-  defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED
-  humanReadableName: "CSS display: contents"
-  humanReadableDescription: "Enable CSS display: contents support"
-  category: experimental
-  webcoreBinding: RuntimeEnabledFeatures
-
 SpringTimingFunctionEnabled:
   type: bool
   defaultValue: DEFAULT_EXPERIMENTAL_FEATURES_ENABLED

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (224821 => 224822)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2017-11-14 18:36:27 UTC (rev 224821)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2017-11-14 19:01:22 UTC (rev 224822)
@@ -1,3 +1,13 @@
+2017-11-14  Antti Koivisto  <[email protected]>
+
+        Enable display:contents by default
+        https://bugs.webkit.org/show_bug.cgi?id=179655
+
+        Reviewed by Sam Weinig.
+
+        * WebView/WebPreferences.mm:
+        (+[WebPreferences initialize]):
+
 2017-11-13  Alex Christensen  <[email protected]>
 
         Merge NetworkProcess::EnsurePrivateBrowsingSession and NetworkProcess::AddWebsiteDataStore into one message type

Modified: trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm (224821 => 224822)


--- trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm	2017-11-14 18:36:27 UTC (rev 224821)
+++ trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm	2017-11-14 19:01:22 UTC (rev 224822)
@@ -663,7 +663,7 @@
 #if ENABLE(INTERSECTION_OBSERVER)
         @NO, WebKitIntersectionObserverEnabledPreferenceKey,
 #endif
-        @NO, WebKitDisplayContentsEnabledPreferenceKey,
+        @YES, WebKitDisplayContentsEnabledPreferenceKey,
         @NO, WebKitUserTimingEnabledPreferenceKey,
         @NO, WebKitResourceTimingEnabledPreferenceKey,
         @NO, WebKitCredentialManagementEnabledPreferenceKey,

Modified: trunk/Tools/ChangeLog (224821 => 224822)


--- trunk/Tools/ChangeLog	2017-11-14 18:36:27 UTC (rev 224821)
+++ trunk/Tools/ChangeLog	2017-11-14 19:01:22 UTC (rev 224822)
@@ -1,3 +1,17 @@
+2017-11-14  Antti Koivisto  <[email protected]>
+
+        Enable display:contents by default
+        https://bugs.webkit.org/show_bug.cgi?id=179655
+
+        Reviewed by Sam Weinig.
+
+        No need to enable this specifically for tests anymore.
+
+        * DumpRenderTree/mac/DumpRenderTree.mm:
+        (enableExperimentalFeatures):
+        * WebKitTestRunner/TestController.cpp:
+        (WTR::TestController::resetPreferencesToConsistentValues):
+
 2017-11-14  Tim Horton  <[email protected]>
 
         Long pressing a phone number with spaces in it results in a link sheet instead of a data detectors sheet

Modified: trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm (224821 => 224822)


--- trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm	2017-11-14 18:36:27 UTC (rev 224821)
+++ trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm	2017-11-14 19:01:22 UTC (rev 224822)
@@ -840,7 +840,6 @@
 static void enableExperimentalFeatures(WebPreferences* preferences)
 {
     [preferences setCSSGridLayoutEnabled:YES];
-    [preferences setDisplayContentsEnabled:YES];
     // FIXME: SpringTimingFunction
     [preferences setGamepadsEnabled:YES];
     [preferences setLinkPreloadEnabled:YES];

Modified: trunk/Tools/WebKitTestRunner/TestController.cpp (224821 => 224822)


--- trunk/Tools/WebKitTestRunner/TestController.cpp	2017-11-14 18:36:27 UTC (rev 224821)
+++ trunk/Tools/WebKitTestRunner/TestController.cpp	2017-11-14 19:01:22 UTC (rev 224822)
@@ -681,7 +681,6 @@
     WKPreferencesSetArtificialPluginInitializationDelayEnabled(preferences, false);
     WKPreferencesSetTabToLinksEnabled(preferences, false);
     WKPreferencesSetInteractiveFormValidationEnabled(preferences, true);
-    WKPreferencesSetDisplayContentsEnabled(preferences, true);
     WKPreferencesSetDataTransferItemsEnabled(preferences, true);
     WKPreferencesSetCustomPasteboardDataEnabled(preferences, true);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to