We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e216875 commit b88e0c1Copy full SHA for b88e0c1
1 file changed
org/w3c/css/values/HSL.java
@@ -129,6 +129,14 @@ public void setAlpha(ApplContext ac, CssValue alpha)
129
va = RGBA.filterAlpha(ac, alpha);
130
}
131
132
+ public boolean equals(HSL other) {
133
+ if (other != null) {
134
+ return (vh.equals(other.vh) && vs.equals(other.vs) && vl.equals(other.vl) &&
135
+ ((va == null && other.va == null) || (va != null && va.equals(other.va))));
136
+ }
137
+ return false;
138
139
+
140
/**
141
* Returns a string representation of the object.
142
*/
0 commit comments