We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a205d05 commit 901b61fCopy full SHA for 901b61f
1 file changed
org/w3c/css/parser/analyzer/CssParser.java
@@ -2076,7 +2076,7 @@ final public void general_enclosed(AtRuleSupports supportsRule) throws ParseExce
2076
allv.addAll(v);
2077
}
2078
2079
-if ( allv == null ) {
+if ( allv.isEmpty() ) {
2080
if (!gotContent) ac.getFrame().addWarning("no-declaration");
2081
} else {
2082
addProperty(allv);
0 commit comments