CVS 2002/css-validator/org/w3c/css/properties/css3

Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory roscoe:/tmp/cvs-serv18195/css3

Modified Files:
	CssSpeakHeader.java CssVolume.java 
Log Message:
depreciation warning is about the property name, not its value

--- /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssSpeakHeader.java	2012/12/08 15:33:15	1.1
+++ /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssSpeakHeader.java	2012/12/17 15:11:45	1.2
@@ -1,4 +1,4 @@
-// $Id: CssSpeakHeader.java,v 1.1 2012/12/08 15:33:15 ylafon Exp $
+// $Id: CssSpeakHeader.java,v 1.2 2012/12/17 15:11:45 ylafon Exp $
 // Author: Yves Lafon <ylafon@w3.org>
 //
 // (c) COPYRIGHT MIT, ERCIM and Keio University, 2012.
@@ -65,7 +65,7 @@
 		op = expression.getOperator();
 
 		// same as CSS21 plus a warning
-		ac.getFrame().addWarning("deprecatedproperty", expression.toStringFromStart());
+		ac.getFrame().addWarning("deprecatedproperty", getPropertyName());
 
 		if (val.getType() == CssTypes.CSS_IDENT) {
 			CssIdent id = (CssIdent) val;
--- /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssVolume.java	2012/12/17 14:21:17	1.1
+++ /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssVolume.java	2012/12/17 15:11:45	1.2
@@ -1,4 +1,4 @@
-// $Id: CssVolume.java,v 1.1 2012/12/17 14:21:17 ylafon Exp $
+// $Id: CssVolume.java,v 1.2 2012/12/17 15:11:45 ylafon Exp $
 // Author: Yves Lafon <ylafon@w3.org>
 //
 // (c) COPYRIGHT MIT, ERCIM and Keio University, 2012.
@@ -67,7 +67,7 @@
 		op = expression.getOperator();
 
 		// same as CSS21 plus a warning
-		ac.getFrame().addWarning("deprecatedproperty", expression.toStringFromStart());
+		ac.getFrame().addWarning("deprecatedproperty", getPropertyName());
 
 		switch (val.getType()) {
 			case CssTypes.CSS_NUMBER:

Received on Monday, 17 December 2012 15:11:48 UTC