Title: [206701] trunk/Source
Revision
206701
Author
mmaxfi...@apple.com
Date
2016-09-30 18:26:10 -0700 (Fri, 30 Sep 2016)

Log Message

Turn variation fonts on by default
https://bugs.webkit.org/show_bug.cgi?id=162818

Reviewed by Simon Fraser.

Source/WebCore:

No new tests because there is no behavior change.

* page/Settings.in:
* testing/InternalSettings.cpp:
(WebCore::InternalSettings::variationFontsEnabled):

Source/WebKit2:

* Shared/WebPreferencesDefinitions.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (206700 => 206701)


--- trunk/Source/WebCore/ChangeLog	2016-10-01 00:59:35 UTC (rev 206700)
+++ trunk/Source/WebCore/ChangeLog	2016-10-01 01:26:10 UTC (rev 206701)
@@ -1,5 +1,18 @@
 2016-09-30  Myles C. Maxfield  <mmaxfi...@apple.com>
 
+        Turn variation fonts on by default
+        https://bugs.webkit.org/show_bug.cgi?id=162818
+
+        Reviewed by Simon Fraser.
+
+        No new tests because there is no behavior change.
+
+        * page/Settings.in:
+        * testing/InternalSettings.cpp:
+        (WebCore::InternalSettings::variationFontsEnabled):
+
+2016-09-30  Myles C. Maxfield  <mmaxfi...@apple.com>
+
         Implement rendering of font-variation-settings
         https://bugs.webkit.org/show_bug.cgi?id=162782
 

Modified: trunk/Source/WebCore/page/Settings.in (206700 => 206701)


--- trunk/Source/WebCore/page/Settings.in	2016-10-01 00:59:35 UTC (rev 206700)
+++ trunk/Source/WebCore/page/Settings.in	2016-10-01 01:26:10 UTC (rev 206701)
@@ -273,7 +273,7 @@
 
 treatIPAddressAsDomain initial=false
 
-variationFontsEnabled initial=false, setNeedsStyleRecalcInAllFrames=1
+variationFontsEnabled initial=true, setNeedsStyleRecalcInAllFrames=1
 
 # Runtime-enabled features
 visualViewportEnabled initial=false

Modified: trunk/Source/WebCore/testing/InternalSettings.cpp (206700 => 206701)


--- trunk/Source/WebCore/testing/InternalSettings.cpp	2016-10-01 00:59:35 UTC (rev 206700)
+++ trunk/Source/WebCore/testing/InternalSettings.cpp	2016-10-01 01:26:10 UTC (rev 206701)
@@ -653,7 +653,7 @@
 
 bool InternalSettings::variationFontsEnabled(ExceptionCode& ec)
 {
-    InternalSettingsGuardForSettingsReturn(false);
+    InternalSettingsGuardForSettingsReturn(true);
     return settings()->variationFontsEnabled();
 }
 

Modified: trunk/Source/WebKit2/ChangeLog (206700 => 206701)


--- trunk/Source/WebKit2/ChangeLog	2016-10-01 00:59:35 UTC (rev 206700)
+++ trunk/Source/WebKit2/ChangeLog	2016-10-01 01:26:10 UTC (rev 206701)
@@ -1,3 +1,12 @@
+2016-09-30  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        Turn variation fonts on by default
+        https://bugs.webkit.org/show_bug.cgi?id=162818
+
+        Reviewed by Simon Fraser.
+
+        * Shared/WebPreferencesDefinitions.h:
+
 2016-09-30  Brady Eidson  <beid...@apple.com>
 
         REGRESSION (Safari 10 combined with WK changes): Unable to store WebCrypto keys in IndexedDB database.

Modified: trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h (206700 => 206701)


--- trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2016-10-01 00:59:35 UTC (rev 206700)
+++ trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2016-10-01 01:26:10 UTC (rev 206701)
@@ -291,7 +291,7 @@
     macro(CustomElementsEnabled, customElementsEnabled, Bool, bool, true, "Custom Elements", "HTML Custom Elements prototype") \
     macro(GamepadsEnabled, gamepadsEnabled, Bool, bool, false, "Gamepads", "Web Gamepad API support") \
     macro(ModernMediaControlsEnabled, modernMediaControlsEnabled, Bool, bool, false, "Modern Media Controls", "Use modern media controls look") \
-    macro(VariationFontsEnabled, variationFontsEnabled, Bool, bool, false, "Variation Fonts", "Enable variation fonts") \
+    macro(VariationFontsEnabled, variationFontsEnabled, Bool, bool, true, "Variation Fonts", "Enable variation fonts") \
     macro(VisualViewportEnabled, visualViewportEnabled, Bool, bool, false, "Visual Viewport", "Use Visual Viewport for fixed elements when zooming") \
     macro(WebGL2Enabled, webGL2Enabled, Bool, bool, true, "WebGL 2.0", "WebGL 2 prototype") \
     \
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to