W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2013

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

From: CVS User ylafon <cvsmail@w3.org>
Date: Fri, 04 Jan 2013 15:14:45 +0000
Message-Id: <E1Tr8yr-00010n-4Q@roscoe.w3.org>
To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css2
In directory roscoe:/tmp/cvs-serv3808/css2

Modified Files:
	Css2Style.java 
Log Message:
voice-stress per http://www.w3.org/TR/2012/CR-css3-speech-20120320/#voice-stress

--- /sources/public/2002/css-validator/org/w3c/css/properties/css2/Css2Style.java	2013/01/04 13:14:02	1.42
+++ /sources/public/2002/css-validator/org/w3c/css/properties/css2/Css2Style.java	2013/01/04 15:14:45	1.43
@@ -1,5 +1,5 @@
 //
-// $Id: Css2Style.java,v 1.42 2013/01/04 13:14:02 ylafon Exp $
+// $Id: Css2Style.java,v 1.43 2013/01/04 15:14:45 ylafon Exp $
 // From Philippe Le Hegaret (Philippe.Le_Hegaret@sophia.inria.fr)
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
@@ -54,6 +54,7 @@
 import org.w3c.css.properties.css.CssTop;
 import org.w3c.css.properties.css.CssUnicodeBidi;
 import org.w3c.css.properties.css.CssVisibility;
+import org.w3c.css.properties.css.CssVoiceStress;
 import org.w3c.css.properties.css.CssVolume;
 import org.w3c.css.util.ApplContext;
 import org.w3c.css.util.Warning;
@@ -61,7 +62,7 @@
 import org.w3c.css.values.CssIdent;
 
 /**
- * @version $Revision: 1.42 $
+ * @version $Revision: 1.43 $
  */
 public class Css2Style extends ACssStyle {
 
@@ -86,6 +87,7 @@
 	public CssPauseAfter cssPauseAfter;
 	public CssPauseBefore cssPauseBefore;
 	public CssPause cssPause;
+	public CssVoiceStress cssVoiceStress;
 
 	/**
 	 * font properties
@@ -659,7 +661,15 @@
 		}
 		return cssPause;
 	}
-	
+
+	public final CssVoiceStress getVoiceStress() {
+		if (cssVoiceStress == null) {
+			cssVoiceStress =
+					(CssVoiceStress) style.CascadingOrder(new CssVoiceStress(),
+							style, selector);
+		}
+		return cssVoiceStress;
+	}
 	/**
 	 * Find conflicts in this Style
 	 *
Received on Friday, 4 January 2013 15:14:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 4 January 2013 15:14:46 GMT