- From: CVS User ylafon <cvsmail@w3.org>
- Date: Fri, 04 Jan 2013 15:24:38 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css2 In directory roscoe:/tmp/cvs-serv8456/css2 Modified Files: Css2Style.java Log Message: voice-duration per http://www.w3.org/TR/2012/CR-css3-speech-20120320/#voice-duration --- /sources/public/2002/css-validator/org/w3c/css/properties/css2/Css2Style.java 2013/01/04 15:14:45 1.43 +++ /sources/public/2002/css-validator/org/w3c/css/properties/css2/Css2Style.java 2013/01/04 15:24:38 1.44 @@ -1,5 +1,5 @@ // -// $Id: Css2Style.java,v 1.43 2013/01/04 15:14:45 ylafon Exp $ +// $Id: Css2Style.java,v 1.44 2013/01/04 15:24:38 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.CssVoiceDuration; import org.w3c.css.properties.css.CssVoiceStress; import org.w3c.css.properties.css.CssVolume; import org.w3c.css.util.ApplContext; @@ -62,7 +63,7 @@ import org.w3c.css.values.CssIdent; /** - * @version $Revision: 1.43 $ + * @version $Revision: 1.44 $ */ public class Css2Style extends ACssStyle { @@ -87,6 +88,7 @@ public CssPauseAfter cssPauseAfter; public CssPauseBefore cssPauseBefore; public CssPause cssPause; + public CssVoiceDuration cssVoiceDuration; public CssVoiceStress cssVoiceStress; /** @@ -670,6 +672,16 @@ } return cssVoiceStress; } + + public final CssVoiceDuration getVoiceDuration() { + if (cssVoiceDuration == null) { + cssVoiceDuration = + (CssVoiceDuration) style.CascadingOrder(new CssVoiceDuration(), + style, selector); + } + return cssVoiceDuration; + } + /** * Find conflicts in this Style *
Received on Friday, 4 January 2013 15:24:39 UTC