- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 12 Oct 2012 20:33:16 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3 In directory hutz:/tmp/cvs-serv31406/css3 Modified Files: CssDisplay.java Log Message: added diplay: marker per http://www.w3.org/TR/2011/WD-css3-lists-20110524/#display-marker Index: CssDisplay.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssDisplay.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- CssDisplay.java 7 Oct 2012 12:01:28 -0000 1.4 +++ CssDisplay.java 12 Oct 2012 20:33:12 -0000 1.5 @@ -16,8 +16,8 @@ /** * @spec http://www.w3.org/TR/2007/WD-css3-box-20070809/#the-lsquo * @spec http://www.w3.org/TR/2012/CR-css3-flexbox-20120918/#flex-containers + * @spec http://www.w3.org/TR/2011/WD-css3-lists-20110524/#display-marker * <p/> - * TODO do <template> from http://www.w3.org/TR/2010/WD-css3-layout-20100429/#declaring-templates-the-display-property */ public class CssDisplay extends org.w3c.css.properties.css.CssDisplay { @@ -33,7 +33,8 @@ "ruby-base-group", "ruby-text-group", "none" }; String[] FLEX_DISPLAY = {"flex", "inline-flex"}; - allowed_values = new CssIdent[DISPLAY.length+FLEX_DISPLAY.length]; + String[] LISTS_DISPLAY = {"marker"}; + allowed_values = new CssIdent[DISPLAY.length+FLEX_DISPLAY.length+LISTS_DISPLAY.length]; int i = 0; for (String aDISPLAY : DISPLAY) { allowed_values[i++] = CssIdent.getIdent(aDISPLAY); @@ -41,6 +42,9 @@ for(String aDISPLAY : FLEX_DISPLAY) { allowed_values[i++] = CssIdent.getIdent(aDISPLAY); } + for(String aDISPLAY : LISTS_DISPLAY) { + allowed_values[i++] = CssIdent.getIdent(aDISPLAY); + } } public static CssIdent getMatchingIdent(CssIdent ident) {
Received on Friday, 12 October 2012 20:33:17 UTC