Skip to content

Commit 868a590

Browse files
committed
add proper arguments for warning
1 parent fc6938c commit 868a590

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

org/w3c/css/properties/css3/CssAppearance.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ public CssAppearance(ApplContext ac, CssExpression expression,
9898
// output will use auto
9999
if (isCompatAuto(id)) {
100100
// need a specific warning to tell that it is seen as "auto"?
101-
ac.getFrame().addWarning("value-unofficial");
101+
ac.getFrame().addWarning("value-unofficial",
102+
val.toString(), getPropertyName());
102103
// let's replace it if it was a real ident
103104
if (val.getRawType() == CssTypes.CSS_IDENT) {
104105
value = auto;

0 commit comments

Comments
 (0)