Title: [287491] trunk/Source/WebInspectorUI
Revision
287491
Author
[email protected]
Date
2021-12-31 01:13:08 -0800 (Fri, 31 Dec 2021)

Log Message

Web Inspector: fix assert text in Gradient.js

Unreviewed.

Wrong assert text was added in r287409, it should be radial instead of conic gradients.

* UserInterface/Models/Gradient.js:
(WI.RadialGradient.prototype.set angleValue):
(WI.RadialGradient.prototype.set angleUnits):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (287490 => 287491)


--- trunk/Source/WebInspectorUI/ChangeLog	2021-12-31 04:46:27 UTC (rev 287490)
+++ trunk/Source/WebInspectorUI/ChangeLog	2021-12-31 09:13:08 UTC (rev 287491)
@@ -1,3 +1,15 @@
+2021-12-31  Tim Nguyen  <[email protected]>
+
+        Web Inspector: fix assert text in Gradient.js
+
+        Unreviewed.
+
+        Wrong assert text was added in r287409, it should be radial instead of conic gradients.
+
+        * UserInterface/Models/Gradient.js:
+        (WI.RadialGradient.prototype.set angleValue):
+        (WI.RadialGradient.prototype.set angleUnits):
+
 2021-12-24  Tim Nguyen  <[email protected]>
 
         Remove non-standard -webkit-background-composite CSS property

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/Gradient.js (287490 => 287491)


--- trunk/Source/WebInspectorUI/UserInterface/Models/Gradient.js	2021-12-31 04:46:27 UTC (rev 287490)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/Gradient.js	2021-12-31 09:13:08 UTC (rev 287491)
@@ -393,7 +393,7 @@
 
     set angleValue(value)
     {
-        console.assert(false, "CSS conic gradients do not have an angle");
+        console.assert(false, "CSS radial gradients do not have an angle");
     }
 
     get angleUnits()
@@ -403,7 +403,7 @@
 
     set angleUnits(units)
     {
-        console.assert(false, "CSS conic gradients do not have an angle");
+        console.assert(false, "CSS radial gradients do not have an angle");
     }
 
     copy()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to