- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 02 Nov 2012 14:34:28 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css1 In directory hutz:/tmp/cvs-serv4088/css1 Modified Files: Css1Style.java Removed Files: CssMarkerOffset.java CssMarkerOffsetATSC.java Log Message: marker-offset is only defined in css2 (and atsc profile) --- CssMarkerOffset.java DELETED --- --- CssMarkerOffsetATSC.java DELETED --- Index: Css1Style.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/Css1Style.java,v retrieving revision 1.50 retrieving revision 1.51 diff -u -d -r1.50 -r1.51 --- Css1Style.java 2 Nov 2012 14:14:12 -0000 1.50 +++ Css1Style.java 2 Nov 2012 14:34:26 -0000 1.51 @@ -35,7 +35,6 @@ import org.w3c.css.util.Util; import org.w3c.css.util.Warning; import org.w3c.css.util.Warnings; -import org.w3c.css.values.CssIdent; import org.w3c.css.values.CssLength; import org.w3c.css.values.CssPercentage; import org.w3c.css.values.CssTypes; @@ -199,11 +198,6 @@ * counter-increment property */ public CssCounterIncrement cssCounterIncrement; - /** - * marker-offset property - */ - public CssMarkerOffset cssMarkerOffset; - public CssMarkerOffsetATSC cssMarkerOffsetATSC; /** * TV property @@ -1071,27 +1065,6 @@ return cssCounterIncrement; } - /** - * Get the marker-offset property - */ - public final CssMarkerOffset getMarkerOffset() { - if (cssMarkerOffset == null) { - cssMarkerOffset = - (CssMarkerOffset) style.CascadingOrder(new CssMarkerOffset(), - style, selector); - } - return cssMarkerOffset; - } - - public final CssMarkerOffsetATSC getMarkerOffsetATSC() { - if (cssMarkerOffsetATSC == null) { - cssMarkerOffsetATSC = - (CssMarkerOffsetATSC) style.CascadingOrder(new CssMarkerOffsetATSC(), - style, selector); - } - return cssMarkerOffsetATSC; - } - public final CssListStyleTypeTV getListStyleTypeTV() { if (cssListStyleTypeTV == null) { cssListStyleTypeTV = @@ -1348,15 +1321,6 @@ "block-level", 1, ac)); } } - - if (cssMarkerOffset != null) { - //@@ beurk you know what ? 5 is horrible. - if ((cssDisplay == null) - || (CssIdent.getIdent("marker").equals(cssDisplay.get()))) { - warnings.addWarning(new Warning(cssMarkerOffset, - "marker", 1, ac)); - } - } } }
Received on Friday, 2 November 2012 14:34:33 UTC