Skip to content

Commit 8834e28

Browse files
committed
the single value case was missing in output
1 parent b4c8ed3 commit 8834e28

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

org/w3c/css/atrules/css/media/MediaRangeFeature.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public abstract class MediaRangeFeature extends MediaFeature {
1515

1616

1717
static public void checkComparators(ApplContext ac, CssComparator c1, CssComparator c2,
18-
String caller) throws InvalidParamException {
18+
String caller) throws InvalidParamException {
1919
if (!CssComparator.checkCompatibility(c1, c2)) {
2020
throw new InvalidParamException("comparator", c1, c2, ac);
2121
}
@@ -66,7 +66,8 @@ public String toString() {
6666
sb.append(otherValue);
6767
}
6868
} else {
69-
// we are in trouble... bail?
69+
sb.append(getFeatureName());
70+
sb.append(':').append(' ').append(value.toString());
7071
}
7172
}
7273
return sb.toString();

0 commit comments

Comments
 (0)