W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2012

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

From: CVS User ylafon <cvsmail@w3.org>
Date: Mon, 17 Dec 2012 15:11:45 +0000
Message-Id: <E1TkcM5-0004jc-KD@roscoe.w3.org>
To: www-validator-cvs@w3.org
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:54 UTC