- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 05 Jan 2010 13:49:36 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties In directory hutz:/tmp/cvs-serv25562/org/w3c/css/properties Modified Files: ATSCProperties.properties CSS21Properties.properties CSS2Properties.properties CSS3Properties.properties MobileProperties.properties SVGBasicProperties.properties SVGProperties.properties SVGTinyProperties.properties Added Files: README.PROPERTIES Log Message: Implementation of css3-background (partial, missing background-color and background, also borders not done) cf. http://www.w3.org/TR/2009/CR-css3-background-20091217/ moved and corrected implementation of css3-multicol cf. http://www.w3.org/TR/2009/CR-css3-multicol-20091217/ Some reorganization of code. Index: SVGBasicProperties.properties =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/SVGBasicProperties.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SVGBasicProperties.properties 13 Mar 2008 15:49:16 -0000 1.2 +++ SVGBasicProperties.properties 5 Jan 2010 13:49:34 -0000 1.3 @@ -10,7 +10,7 @@ color-rendering: org.w3c.css.properties.svg.ColorRendering cursor: org.w3c.css.properties.css2.user.CssCursorCSS2 direction: org.w3c.css.properties.css1.CssDirection -display: org.w3c.css.properties.css1.CssDisplayCSS2 +display: org.w3c.css.properties.css.CssDisplay dominant-baseline: org.w3c.css.properties.svg.DominantBaseline enable-background: org.w3c.css.properties.svg.EnableBackground fill: org.w3c.css.properties.svg.Fill Index: CSS3Properties.properties =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/CSS3Properties.properties,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- CSS3Properties.properties 17 Dec 2009 22:51:22 -0000 1.9 +++ CSS3Properties.properties 5 Jan 2010 13:49:34 -0000 1.10 @@ -8,12 +8,18 @@ font-size-adjust: org.w3c.css.properties.css1.CssFontSizeAdjust font: org.w3c.css.properties.css1.CssFont color: org.w3c.css.properties.css1.CssColor +# http://www.w3.org/TR/2009/CR-css3-background-20091217/ +background-image: org.w3c.css.properties.css.CssBackgroundImage +background-repeat: org.w3c.css.properties.css.CssBackgroundRepeat +background-attachment: org.w3c.css.properties.css.CssBackgroundAttachment +background-clip: org.w3c.css.properties.css.CssBackgroundClip +background-origin: org.w3c.css.properties.css.CssBackgroundOrigin +background-size: org.w3c.css.properties.css.CssBackgroundSize +background-position: org.w3c.css.properties.css.CssBackgroundPosition + background-color: org.w3c.css.properties.css1.CssBackgroundColor -background-image: org.w3c.css.properties.css1.CssBackgroundImageCSS2 -background-repeat: org.w3c.css.properties.css1.CssBackgroundRepeatCSS2 -background-attachment: org.w3c.css.properties.css1.CssBackgroundAttachmentCSS2 -background-position: org.w3c.css.properties.css21.CssBackgroundPositionCSS21 background: org.w3c.css.properties.css3.CssBackgroundCSS3 +# word-spacing: org.w3c.css.properties.css3.CssWordSpacingCSS3 letter-spacing: org.w3c.css.properties.css1.CssLetterSpacing text-decoration: org.w3c.css.properties.css3.CssTextDecorationCSS3 @@ -61,9 +67,9 @@ height: org.w3c.css.properties.css3.CssHeightCSS3 float: org.w3c.css.properties.css3.CssFloatCSS3 clear: org.w3c.css.properties.css3.CssClearCSS3 -display: org.w3c.css.properties.css1.CssDisplay +display: org.w3c.css.properties.css.CssDisplay position: org.w3c.css.properties.css1.CssPosition -z-index: org.w3c.css.properties.css1.CssZIndex +z-index: org.w3c.css.properties.css.CssZIndex direction: org.w3c.css.properties.css1.CssDirection unicode-bidi: org.w3c.css.properties.css1.CssUnicodeBidi top: org.w3c.css.properties.css1.CssTop @@ -200,12 +206,9 @@ box-height: org.w3c.css.properties.css3.CssBoxHeight fit: org.w3c.css.properties.css3.CssFit link: org.w3c.css.properties.css3.CssLink -background-clip: org.w3c.css.properties.css3.CssBackgroundClip handheld.background-clip: org.w3c.css.properties.css3.CssBackgroundClip -background-size: org.w3c.css.properties.css3.CssBackgroundSize background-quantity: org.w3c.css.properties.css3.CssBackgroundQuantity background-spacing: org.w3c.css.properties.css3.CssBackgroundSpacing -background-origin: org.w3c.css.properties.css3.CssBackgroundOrigin all-space-treatment: org.w3c.css.properties.css3.CssAllSpaceTreatment hanging-punctuation: org.w3c.css.properties.css3.CssHangingPunctuation line-grid: org.w3c.css.properties.css3.CssLineGrid @@ -220,19 +223,19 @@ wrap-option: org.w3c.css.properties.css3.CssWrapOption # CSS Multi-column Layout Module # http://www.w3.org/TR/css3-multicol/ -columns: org.w3c.css.properties.css3.CssColumns -column-count: org.w3c.css.properties.css3.CssColumnCount -column-fill: org.w3c.css.properties.css3.CssColumnFill -column-gap: org.w3c.css.properties.css3.CssColumnGap -column-rule: org.w3c.css.properties.css3.CssColumnRule -column-rule-color: org.w3c.css.properties.css3.CssColumnRuleColor -column-rule-style: org.w3c.css.properties.css3.CssColumnRuleStyle -column-rule-width: org.w3c.css.properties.css3.CssColumnRuleWidth -column-span: org.w3c.css.properties.css3.CssColumnSpan -column-width: org.w3c.css.properties.css3.CssColumnWidth -break-after: org.w3c.css.properties.css3.CssBreakAfter -break-before: org.w3c.css.properties.css3.CssBreakBefore -break-inside: org.w3c.css.properties.css3.CssBreakInside +columns: org.w3c.css.properties.css.CssColumns +column-count: org.w3c.css.properties.css.CssColumnCount +column-fill: org.w3c.css.properties.css.CssColumnFill +column-gap: org.w3c.css.properties.css.CssColumnGap +column-rule: org.w3c.css.properties.css.CssColumnRule +column-rule-color: org.w3c.css.properties.css.CssColumnRuleColor +column-rule-style: org.w3c.css.properties.css.CssColumnRuleStyle +column-rule-width: org.w3c.css.properties.css.CssColumnRuleWidth +column-span: org.w3c.css.properties.css.CssColumnSpan +column-width: org.w3c.css.properties.css.CssColumnWidth +break-after: org.w3c.css.properties.css.CssBreakAfter +break-before: org.w3c.css.properties.css.CssBreakBefore +break-inside: org.w3c.css.properties.css.CssBreakInside # EOP drop-initial-after-adjust: org.w3c.css.properties.css3.CssDropInitialAfterAdjust drop-initial-before-adjust: org.w3c.css.properties.css3.CssDropInitialBeforeAdjust @@ -300,15 +303,10 @@ border-break: org.w3c.css.properties.css3.CssBorderBreak box-shadow: org.w3c.css.properties.css3.CssBoxShadow block-progression: org.w3c.css.properties.css3.CssBlockProgression -word-break-wrap: org.w3c.css.properties.css3.CssTextWrap -text-decoration: org.w3c.css.properties.css3.CssTextDecorationCSS3 -text-shadow: org.w3c.css.properties.css1.CssTextShadow -width: org.w3c.css.properties.css3.CssWidthCSS3 +word-break-wrap: org.w3c.css.properties.css3.CssTextWrapwidth: org.w3c.css.properties.css3.CssWidthCSS3 round-clip: org.w3c.css.properties.css3.CssBackgroundClip -row-span: org.w3c.css.properties.css2.table.RowSpan tty.link: org.w3c.css.properties.css3.CssLink -collapse: org.w3c.css.properties.css3.CssCollapse -hanging-punctuation: org.w3c.css.properties.css3.CssHangingPunctuation +collapse: org.w3c.css.properties.css3.CssCollapsehanging-punctuation: org.w3c.css.properties.css3.CssHangingPunctuation @page.padding-left: org.w3c.css.properties.css3.CssPaddingLeftCSS3 @page.padding-right: org.w3c.css.properties.css3.CssPaddingRightCSS3 @@ -337,7 +335,7 @@ @page.clear: org.w3c.css.properties.css3.CssClear @page.display: org.w3c.css.properties.css1.CssDisplay @page.position: org.w3c.css.properties.css1.CssPosition -@page.z-index: org.w3c.css.properties.css1.CssZIndex +@page.z-index: org.w3c.css.properties.css.CssZIndex @page.direction: org.w3c.css.properties.css1.CssDirection @page.unicode-bidi: org.w3c.css.properties.css1.CssUnicodeBidi @page.top: org.w3c.css.properties.css1.CssTop Index: CSS2Properties.properties =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/CSS2Properties.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CSS2Properties.properties 23 Aug 2005 16:36:13 -0000 1.1 +++ CSS2Properties.properties 5 Jan 2010 13:49:34 -0000 1.2 @@ -11,9 +11,9 @@ font: org.w3c.css.properties.css1.CssFontCSS2 color: org.w3c.css.properties.css1.CssColorCSS2 background-color: org.w3c.css.properties.css1.CssBackgroundColorCSS2 -background-image: org.w3c.css.properties.css1.CssBackgroundImageCSS2 -background-repeat: org.w3c.css.properties.css1.CssBackgroundRepeatCSS2 -background-attachment: org.w3c.css.properties.css1.CssBackgroundAttachmentCSS2 +background-image: org.w3c.css.properties.css2.CssBackgroundImageCSS2 +background-repeat: org.w3c.css.properties.css2.CssBackgroundRepeatCSS2 +background-attachment: org.w3c.css.properties.css2.CssBackgroundAttachmentCSS2 background-position: org.w3c.css.properties.css1.CssBackgroundPositionCSS2 background: org.w3c.css.properties.css1.CssBackgroundCSS2 word-spacing: org.w3c.css.properties.css1.CssWordSpacing @@ -63,9 +63,9 @@ height: org.w3c.css.properties.css1.CssHeight float: org.w3c.css.properties.css1.CssFloat clear: org.w3c.css.properties.css1.CssClear -display: org.w3c.css.properties.css1.CssDisplayCSS2 +display: org.w3c.css.properties.css2.CssDisplayCSS2 position: org.w3c.css.properties.css1.CssPosition -z-index: org.w3c.css.properties.css1.CssZIndex +z-index: org.w3c.css.properties.css.CssZIndex direction: org.w3c.css.properties.css1.CssDirection unicode-bidi: org.w3c.css.properties.css1.CssUnicodeBidi top: org.w3c.css.properties.css1.CssTop @@ -160,9 +160,9 @@ @page.border-left: org.w3c.css.properties.css1.CssBorderLeftCSS2 @page.border-bottom: org.w3c.css.properties.css1.CssBorderBottomCSS2 @page.border: org.w3c.css.properties.css1.CssBorderCSS2 -@page.display: org.w3c.css.properties.css1.CssDisplayCSS2 +@page.display: org.w3c.css.properties.css2.CssDisplayCSS2 @page.position: org.w3c.css.properties.css1.CssPosition -@page.z-index: org.w3c.css.properties.css1.CssZIndex +@page.z-index: org.w3c.css.properties.css.CssZIndex @page.direction: org.w3c.css.properties.css1.CssDirection @page.unicode-bidi: org.w3c.css.properties.css1.CssUnicodeBidi @page.top: org.w3c.css.properties.css1.CssTop Index: SVGTinyProperties.properties =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/SVGTinyProperties.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- SVGTinyProperties.properties 23 Aug 2005 16:36:13 -0000 1.1 +++ SVGTinyProperties.properties 5 Jan 2010 13:49:34 -0000 1.2 @@ -1,5 +1,5 @@ color: org.w3c.css.properties.css1.CssColor -display: org.w3c.css.properties.css1.CssDisplayCSS2 +display: org.w3c.css.properties.css.CssDisplay fill: org.w3c.css.properties.svg.Fill fill-rule: org.w3c.css.properties.svg.FillRule font: org.w3c.css.properties.css1.CssFontCSS2 Index: MobileProperties.properties =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/MobileProperties.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- MobileProperties.properties 23 Aug 2005 16:36:13 -0000 1.1 +++ MobileProperties.properties 5 Jan 2010 13:49:34 -0000 1.2 @@ -91,7 +91,7 @@ min-height: org.w3c.css.properties.css1.CssMinHeight max-height: org.w3c.css.properties.css1.CssMaxHeight position: org.w3c.css.properties.css1.CssPosition -z-index: org.w3c.css.properties.css1.CssZIndex +z-index: org.w3c.css.properties.css.CssZIndex direction: org.w3c.css.properties.css1.CssDirection unicode-bidi: org.w3c.css.properties.css1.CssUnicodeBidi top: org.w3c.css.properties.css1.CssTop @@ -166,9 +166,9 @@ @page.border: org.w3c.css.properties.css1.CssBorderCSS2 @page.float: org.w3c.css.properties.css1.CssFloat @page.clear: org.w3c.css.properties.css1.CssClear -@page.display: org.w3c.css.properties.css1.CssDisplayCSS2 +@page.display: org.w3c.css.properties.css21.CssDisplayCSS21 @page.position: org.w3c.css.properties.css1.CssPosition -@page.z-index: org.w3c.css.properties.css1.CssZIndex +@page.z-index: org.w3c.css.properties.css.CssZIndex @page.direction: org.w3c.css.properties.css1.CssDirection @page.unicode-bidi: org.w3c.css.properties.css1.CssUnicodeBidi @page.top: org.w3c.css.properties.css1.CssTop Index: ATSCProperties.properties =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/ATSCProperties.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ATSCProperties.properties 14 Sep 2005 15:14:18 -0000 1.2 +++ ATSCProperties.properties 5 Jan 2010 13:49:33 -0000 1.3 @@ -29,9 +29,9 @@ @page.border-left: org.w3c.css.properties.css1.CssBorderLeftCSS2 @page.border-bottom: org.w3c.css.properties.css1.CssBorderBottomCSS2 @page.border: org.w3c.css.properties.css1.CssBorderCSS2 -@page.display: org.w3c.css.properties.css1.CssDisplayCSS2 +@page.display: org.w3c.css.properties.css.CssDisplay @page.position: org.w3c.css.properties.css1.CssPosition -@page.z-index: org.w3c.css.properties.css1.CssZIndex +@page.z-index: org.w3c.css.properties.css.CssZIndex @page.direction: org.w3c.css.properties.css1.CssDirection @page.unicode-bidi: org.w3c.css.properties.css1.CssUnicodeBidi @page.top: org.w3c.css.properties.css1.CssTop @@ -138,9 +138,9 @@ height: org.w3c.css.properties.css1.CssHeight float: org.w3c.css.properties.css1.CssFloat clear: org.w3c.css.properties.css1.CssClear -display: org.w3c.css.properties.css1.CssDisplayCSS2 +display: org.w3c.css.properties.css.CssDisplay position: org.w3c.css.properties.css1.CssPosition -z-index: org.w3c.css.properties.css1.CssZIndex +z-index: org.w3c.css.properties.css.CssZIndex top: org.w3c.css.properties.css1.CssTop right: org.w3c.css.properties.css1.CssRight left: org.w3c.css.properties.css1.CssLeft @@ -156,12 +156,6 @@ content: org.w3c.css.properties.css1.CssContentCSS2 counter-reset: org.w3c.css.properties.css1.CssCounterReset counter-increment: org.w3c.css.properties.css1.CssCounterIncrement -font-style: org.w3c.css.properties.css1.CssFontStyleCSS2 -font-variant: org.w3c.css.properties.css1.CssFontVariantCSS2 -font-weight: org.w3c.css.properties.css1.CssFontWeightCSS2 -font-size: org.w3c.css.properties.css1.CssFontSizeCSS2 -font-family: org.w3c.css.properties.css1.CssFontFamilyCSS2 -font-stretch: org.w3c.css.properties.css1.CssFontStretchCSS2 caption-side: org.w3c.css.properties.css2.table.CaptionSide # these properties are valid for CSS2 but have a warning for ATSC Index: SVGProperties.properties =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/SVGProperties.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SVGProperties.properties 13 Mar 2008 15:49:16 -0000 1.2 +++ SVGProperties.properties 5 Jan 2010 13:49:34 -0000 1.3 @@ -10,7 +10,7 @@ color-rendering: org.w3c.css.properties.svg.ColorRendering cursor: org.w3c.css.properties.css2.user.CssCursorCSS2 direction: org.w3c.css.properties.css1.CssDirection -display: org.w3c.css.properties.css1.CssDisplayCSS2 +display: org.w3c.css.properties.css.CssDisplay dominant-baseline: org.w3c.css.properties.svg.DominantBaseline enable-background: org.w3c.css.properties.svg.EnableBackground font: org.w3c.css.properties.css1.CssFontCSS2 Index: CSS21Properties.properties =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/CSS21Properties.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- CSS21Properties.properties 17 Dec 2009 16:08:12 -0000 1.2 +++ CSS21Properties.properties 5 Jan 2010 13:49:34 -0000 1.3 @@ -8,12 +8,14 @@ font-family: org.w3c.css.properties.css1.CssFontFamilyCSS2 font: org.w3c.css.properties.css1.CssFontCSS2 color: org.w3c.css.properties.css21.CssColorCSS21 +# background background-color: org.w3c.css.properties.css21.CssBackgroundColorCSS21 -background-image: org.w3c.css.properties.css1.CssBackgroundImageCSS2 -background-repeat: org.w3c.css.properties.css1.CssBackgroundRepeatCSS2 -background-attachment: org.w3c.css.properties.css1.CssBackgroundAttachmentCSS2 +background-image: org.w3c.css.properties.css2.CssBackgroundImageCSS2 +background-repeat: org.w3c.css.properties.css2.CssBackgroundRepeatCSS2 +background-attachment: org.w3c.css.properties.css2.CssBackgroundAttachmentCSS2 background-position: org.w3c.css.properties.css21.CssBackgroundPositionCSS21 background: org.w3c.css.properties.css21.CssBackgroundCSS21 + word-spacing: org.w3c.css.properties.css1.CssWordSpacing letter-spacing: org.w3c.css.properties.css1.CssLetterSpacing text-decoration: org.w3c.css.properties.css1.CssTextDecoration @@ -60,9 +62,9 @@ height: org.w3c.css.properties.css1.CssHeight float: org.w3c.css.properties.css1.CssFloat clear: org.w3c.css.properties.css1.CssClear -display: org.w3c.css.properties.css21.CssDisplayCSS21 +display: org.w3c.css.properties.css.CssDisplay position: org.w3c.css.properties.css1.CssPosition -z-index: org.w3c.css.properties.css1.CssZIndex +z-index: org.w3c.css.properties.css.CssZIndex direction: org.w3c.css.properties.css1.CssDirection unicode-bidi: org.w3c.css.properties.css1.CssUnicodeBidi top: org.w3c.css.properties.css1.CssTop @@ -157,9 +159,9 @@ @page.border-left: org.w3c.css.properties.css1.CssBorderLeftCSS2 @page.border-bottom: org.w3c.css.properties.css1.CssBorderBottomCSS2 @page.border: org.w3c.css.properties.css1.CssBorderCSS2 -@page.display: org.w3c.css.properties.css1.CssDisplayCSS2 +@page.display: org.w3c.css.properties.css21.CssDisplayCSS21 @page.position: org.w3c.css.properties.css1.CssPosition -@page.z-index: org.w3c.css.properties.css1.CssZIndex +@page.z-index: org.w3c.css.properties.css.CssZIndex @page.direction: org.w3c.css.properties.css1.CssDirection @page.unicode-bidi: org.w3c.css.properties.css1.CssUnicodeBidi @page.top: org.w3c.css.properties.css1.CssTop --- NEW FILE: README.PROPERTIES --- How to add new properties: 1/ all generic properties must be in the org.w3c.css.properties.css package It should contain the evolving version of the implementation of classes Typically what's in a WD, and not stable yet 2/ Once stable for a specific level, create a level-specific version of the \ class, starting with the minimum level it is defined. 3/ Add the relevant versions to the level property file in this directory. Example: 'display' is defined in CSS1, CSS2, CSS21, with different values. org.w3c.css.properties.css.CssDisplay is the core class org.w3c.css.properties.css1.CssDisplayCSS1 extends the core class (basically, it redefines the allowed values) org.w3c.css.properties.css2.CssDisplayCSS2 does the same for CSS2 org.w3c.css.properties.css21.CssDisplayCSS21 does the same for CSS21 (marker removed since CSS2). CSS3 is currently using the latest version, using only CSS21 values, but it might change. NOTE: be careful when extending the core class, not to break classes that are extending it !
Received on Tuesday, 5 January 2010 13:50:09 UTC