- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 06 Mar 2009 12:43:04 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/autotest/testsuite/xml In directory hutz:/tmp/cvs-serv27239 Modified Files: propertiesCSS3.xml Log Message: added tests for Css Color CSS3, first with HSL values Index: propertiesCSS3.xml =================================================================== RCS file: /sources/public/2002/css-validator/autotest/testsuite/xml/propertiesCSS3.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- propertiesCSS3.xml 3 Mar 2009 17:25:38 -0000 1.2 +++ propertiesCSS3.xml 6 Mar 2009 12:43:02 -0000 1.3 @@ -10,4 +10,83 @@ <result valid="true"/> </test> </type> + <type title="CSS3Colors"> + <test profile="css3"> + <file>testsuite/properties/css3/hsl001.css</file> + <description>Valid HSL</description> + <result valid="true"/> + </test> + <test profile="css3"> + <file>testsuite/properties/css3/hsl002.css</file> + <description>Valid HSL, Hue value over 360</description> + <result valid="true"> + <errors>0</errors> + <warnings>1</warnings> + </result> + </test> + <test profile="css3"> + <file>testsuite/properties/css3/hsl003.css</file> + <description>Valid HSL, Saturation value over 100%</description> + <result valid="true"> + <errors>0</errors> + <warnings>1</warnings> + </result> + </test> + <test profile="css3"> + <file>testsuite/properties/css3/hsl004.css</file> + <description>Valid HSL, Lightness value negative</description> + <result valid="true"> + <errors>0</errors> + <warnings>1</warnings> + </result> + </test> + <test profile="css3"> + <file>testsuite/properties/css3/hsl005.css</file> + <description>Valid HSL, all values out of bounds</description> + <result valid="true"> + <errors>0</errors> + <warnings>3</warnings> + </result> + </test> + <test profile="css3"> + <file>testsuite/properties/css3/hsl006.css</file> + <description>Invalid HSL, Hue as percentage</description> + <result valid="false"> + <errors>1</errors> + <warnings>0</warnings> + </result> + </test> + <test profile="css3"> + <file>testsuite/properties/css3/hsl007.css</file> + <description>Invalid HSL, Saturation as number</description> + <result valid="false"> + <errors>1</errors> + <warnings>0</warnings> + </result> + </test> + <test profile="css3"> + <file>testsuite/properties/css3/hsl008.css</file> + <description>Invalid HSL, Lightness as number</description> + <result valid="false"> + <errors>1</errors> + <warnings>0</warnings> + </result> + </test> + <test profile="css3"> + <file>testsuite/properties/css3/hsl009.css</file> + <description>Invalid HSL, too many values (HSLA definition)</description> + <result valid="false"> + <errors>1</errors> + <warnings>0</warnings> + </result> + </test> + <test profile="css3"> + <file>testsuite/properties/css3/hsl010.css</file> + <description>Invalid HSL, not enough values</description> + <result valid="false"> + <errors>1</errors> + <warnings>0</warnings> + </result> + </test> + </type> </testsuite>
Received on Friday, 6 March 2009 12:43:14 UTC