We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d5a4df commit e216875Copy full SHA for e216875
1 file changed
org/w3c/css/values/RGBA.java
@@ -78,7 +78,7 @@ public final void setAlpha(ApplContext ac, CssValue val)
78
79
public boolean equals(RGBA other) {
80
if (other != null) {
81
- return super.equals(other) && va.equals(other.va);
+ return super.equals(other) && ((va == null && other.va == null) || (va != null && va.equals(other.va)));
82
}
83
return false;
84
0 commit comments