Title: [253802] trunk/Source/WebInspectorUI
Revision
253802
Author
[email protected]
Date
2019-12-19 16:50:32 -0800 (Thu, 19 Dec 2019)

Log Message

Web Inspector: Enable p3 color picker by default
https://bugs.webkit.org/show_bug.cgi?id=203931
<rdar://problem/56965236>

Reviewed by Devin Rousso.

* UserInterface/Base/Setting.js:
* UserInterface/Views/InlineSwatch.js:

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (253801 => 253802)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-12-20 00:46:59 UTC (rev 253801)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-12-20 00:50:32 UTC (rev 253802)
@@ -1,3 +1,14 @@
+2019-12-19  Nikita Vasilyev  <[email protected]>
+
+        Web Inspector: Enable p3 color picker by default
+        https://bugs.webkit.org/show_bug.cgi?id=203931
+        <rdar://problem/56965236>
+
+        Reviewed by Devin Rousso.
+
+        * UserInterface/Base/Setting.js:
+        * UserInterface/Views/InlineSwatch.js:
+
 2019-12-19  Devin Rousso  <[email protected]>
 
         Web Inspector: Console: the clear console button is hidden at smaller widths

Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Setting.js (253801 => 253802)


--- trunk/Source/WebInspectorUI/UserInterface/Base/Setting.js	2019-12-20 00:46:59 UTC (rev 253801)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Setting.js	2019-12-20 00:50:32 UTC (rev 253802)
@@ -243,9 +243,7 @@
     debugLayoutDirection: new WI.DebugSetting("debug-layout-direction-override", "system"),
 };
 
-WI.previewFeatures = [
-    "p3-gamut-color-picker" // FIXME: <https://webkit.org/b/203931> Web Inspector: Enable p3 color picker by default
-];
+WI.previewFeatures = [];
 
 WI.isTechnologyPreviewBuild = function()
 {

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/InlineSwatch.js (253801 => 253802)


--- trunk/Source/WebInspectorUI/UserInterface/Views/InlineSwatch.js	2019-12-20 00:46:59 UTC (rev 253801)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/InlineSwatch.js	2019-12-20 00:50:32 UTC (rev 253802)
@@ -196,9 +196,6 @@
         if (this._valueEditor)
             return;
 
-        if (!WI.arePreviewFeaturesEnabled() && value.format === WI.Color.Format.ColorFunction)
-            return;
-
         if (!value)
             value = this._fallbackValue();
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to