Skip to content

Commit 8398074

Browse files
committed
use proper value in warning to show preferred value to use
1 parent b534570 commit 8398074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

org/w3c/css/values/CssColor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,9 +696,9 @@ protected void setIdentColor(ApplContext ac, String s)
696696
if (color != null) {
697697
break;
698698
}
699-
if (CssColorCSS3.getDeprecatedSystem(lower_s) != null) {
699+
color = CssColorCSS3.getDeprecatedSystem(lower_s);
700+
if (color != null) {
700701
ac.getFrame().addWarning("deprecated_replacement", s, color.toString());
701-
// FIXME should we use the replacement in output style?
702702
color = s;
703703
break;
704704
}

0 commit comments

Comments
 (0)