Title: [209060] trunk/Source/WebKit2
Revision
209060
Author
[email protected]
Date
2016-11-28 21:37:12 -0800 (Mon, 28 Nov 2016)

Log Message

[Mac][WK2] Enable HTML interactive form validation
https://bugs.webkit.org/show_bug.cgi?id=165123
<rdar://problem/28944652>

Reviewed by Simon Fraser.

Enable HTML interactive form validation now that we have a native UI
for it.

* Shared/WebPreferencesDefinitions.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (209059 => 209060)


--- trunk/Source/WebKit2/ChangeLog	2016-11-29 04:49:54 UTC (rev 209059)
+++ trunk/Source/WebKit2/ChangeLog	2016-11-29 05:37:12 UTC (rev 209060)
@@ -1,3 +1,16 @@
+2016-11-28  Chris Dumez  <[email protected]>
+
+        [Mac][WK2] Enable HTML interactive form validation
+        https://bugs.webkit.org/show_bug.cgi?id=165123
+        <rdar://problem/28944652>
+
+        Reviewed by Simon Fraser.
+
+        Enable HTML interactive form validation now that we have a native UI
+        for it.
+
+        * Shared/WebPreferencesDefinitions.h:
+
 2016-11-28  Brent Fulgham  <[email protected]>
 
         Generated sandbox profile is not being put in the correct Resources directory

Modified: trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h (209059 => 209060)


--- trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2016-11-29 04:49:54 UTC (rev 209059)
+++ trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2016-11-29 05:37:12 UTC (rev 209060)
@@ -54,6 +54,12 @@
 #define DEFAULT_PDFPLUGIN_ENABLED false
 #endif
 
+#if PLATFORM(MAC)
+#define DEFAULT_HTML_INTERACTIVE_FORM_VALIDATION_ENABLED true
+#else
+#define DEFAULT_HTML_INTERACTIVE_FORM_VALIDATION_ENABLED false
+#endif
+
 #if PLATFORM(IOS)
 #define DEFAULT_ALLOWS_PICTURE_IN_PICTURE_MEDIA_PLAYBACK true
 #define DEFAULT_BACKSPACE_KEY_NAVIGATION_ENABLED false
@@ -238,6 +244,7 @@
     macro(CustomElementsEnabled, customElementsEnabled, Bool, bool, true, "", "") \
     macro(EncryptedMediaAPIEnabled, encryptedMediaAPIEnabled, Bool, bool, false, "", "") \
     macro(IntersectionObserverEnabled, intersectionObserverEnabled, Bool, bool, false, "Intersection Observer", "Enable Intersection Observer support") \
+    macro(InteractiveFormValidationEnabled, interactiveFormValidationEnabled, Bool, bool, DEFAULT_HTML_INTERACTIVE_FORM_VALIDATION_ENABLED, "HTML Interactive Form Validation", "HTML interactive form validation") \
     \
 
 #define FOR_EACH_WEBKIT_DOUBLE_PREFERENCE(macro) \
@@ -305,7 +312,6 @@
 #define FOR_EACH_WEBKIT_EXPERIMENTAL_FEATURE_PREFERENCE(macro) \
     macro(CSSGridLayoutEnabled, cssGridLayoutEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "CSS Grid", "CSS Grid Layout Module support") \
     macro(SpringTimingFunctionEnabled, springTimingFunctionEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "CSS Spring Animations", "CSS Spring Animation prototype") \
-    macro(InteractiveFormValidationEnabled, interactiveFormValidationEnabled, Bool, bool, false, "HTML Interactive Form Validation", "HTML interactive form validation prototype") \
     macro(GamepadsEnabled, gamepadsEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Gamepads", "Web Gamepad API support") \
     macro(ModernMediaControlsEnabled, modernMediaControlsEnabled, Bool, bool, false, "Modern Media Controls", "Use modern media controls look") \
     macro(VariationFontsEnabled, variationFontsEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Variation Fonts", "Enable variation fonts") \
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to