- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 14 Dec 2006 02:53:51 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css1
In directory hutz:/tmp/cvs-serv10094/org/w3c/css/properties/css1
Modified Files:
Css1Style.java
Log Message:
no-color and no-background-color should be warnings level 2, along with other accessibility and usability issues
Index: Css1Style.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/Css1Style.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Css1Style.java 16 Sep 2005 13:33:52 -0000 1.5
+++ Css1Style.java 14 Dec 2006 02:53:49 -0000 1.6
@@ -2584,7 +2584,7 @@
CssProperty.transparent)) {
// It's better to have a background color with a color
warnings.addWarning(new Warning(
- colorCSS3, "no-background-color", 1, ac));
+ colorCSS3, "no-background-color", 2, ac));
}
} else {
CssValue color = cssBackground.getColor();
@@ -2592,7 +2592,7 @@
if (!color.equals(CssBackgroundColor.transparent)) {
// It's better to have a color when a background is defined.
warnings.addWarning(new Warning(cssBackground.color,
- "no-color", 1, ac));
+ "no-color", 2, ac));
}
}
@@ -2669,7 +2669,7 @@
CssProperty.transparent)) {
// It's better to have a background color with a color
warnings.addWarning(new Warning(
- colorCSS1, "no-background-color", 1, ac));
+ colorCSS1, "no-background-color", 2, ac));
}
} else {
CssValue color = cssBackgroundCSS1.getColor();
@@ -2677,7 +2677,7 @@
if (!color.equals(CssBackgroundColorCSS1.transparent)) {
// It's better to have a color when a background is defined.
warnings.addWarning(new Warning(cssBackgroundCSS1.color,
- "no-color", 1, ac));
+ "no-color", 2, ac));
}
}
@@ -2742,7 +2742,7 @@
CssProperty.transparent)) {
// It's better to have a background color with a color
warnings.addWarning(new Warning(
- colorCSS2, "no-background-color", 1, ac));
+ colorCSS2, "no-background-color", 2, ac));
}
} else {
CssValue color = cssBackgroundCSS2.getColor();
@@ -2750,7 +2750,7 @@
if (!color.equals(CssBackgroundColorCSS2.transparent)) {
// It's better to have a color when a background is defined.
warnings.addWarning(new Warning(cssBackgroundCSS2.color,
- "no-color", 1, ac));
+ "no-color", 2, ac));
}
}
@@ -2824,7 +2824,7 @@
if(backgroundColor == null) {
// It's better to have a background color with a color
warnings.addWarning(new Warning(cssColor,
- "no-background-color", 1, ac));
+ "no-background-color", 2, ac));
}
}
else if (cssColorCSS1 != null) {
@@ -2852,7 +2852,7 @@
if(backgroundColor == null) {
// It's better to have a background color with a color
warnings.addWarning(new Warning(cssColorCSS1,
- "no-background-color", 1, ac));
+ "no-background-color", 2, ac));
}
}
else if (cssColorCSS2 != null) {
@@ -2880,7 +2880,7 @@
if(backgroundColor == null) {
// It's better to have a background color with a color
warnings.addWarning(new Warning(cssColorCSS2,
- "no-background-color", 1, ac));
+ "no-background-color", 2, ac));
}
}
Received on Thursday, 14 December 2006 02:53:53 UTC