W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2009

2002/css-validator/autotest/testsuite/xml/css3 css3-color.xml,NONE,1.1 css3-multicol.xml,NONE,1.1 README,NONE,1.1

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 20 Dec 2009 11:22:35 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NMJrv-0005MG-D1@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/autotest/testsuite/xml/css3
In directory hutz:/tmp/cvs-serv20559/d

Added Files:
	css3-color.xml css3-multicol.xml README 
Log Message:
css3 multicol tests

--- NEW FILE: README ---
Those are only templates, folded in propertiesCSS3.xml in the 
directory above. That might change.

--- NEW FILE: css3-color.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
test markup also accepts 3 properties: warning, profile and medium
-->
<testsuite>
  <type title="CSS3_Colors">
    <test profile="css3">
      <file>testsuite/properties/css3/hsl001.css</file>
      <description>color: Valid HSL</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/hsl002.css</file>
      <description>color: 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>color: 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>color: 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>color: 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>color: 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>color: 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>color: 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>color: 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>color: Invalid HSL, not enough values</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/hsl011.css</file>
      <description>background-color: Valid HSL</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/hsl012.css</file>
      <description>background-color: 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/hsl013.css</file>
      <description>background-color: 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/hsl014.css</file>
      <description>background-color: Valid HSL, Lightness value negative</description>
      <result valid="true">
	<errors>0</errors>
	<warnings>1</warnings>
      </result>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/hsl015.css</file>
      <description>background-color: 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/hsl016.css</file>
      <description>background-color: Invalid HSL, Hue as percentage</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/hsl017.css</file>
      <description>background-color: Invalid HSL, Saturation as number</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/hsl018.css</file>
      <description>background-color: Invalid HSL, Lightness as number</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/hsl019.css</file>
      <description>background-color: 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/hsl020.css</file>
      <description>background-color: Invalid HSL, not enough values</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/hsla001.css</file>
      <description>valid HSLa construct</description>
      <result valid="true">
	<errors>0</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/hsla002.css</file>
      <description>valid HSLa construct but one value out of range</description>
      <result valid="true">
	<errors>0</errors>
	<warnings>1</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/hsla003.css</file>
      <description>valid HSLa construct but one value out of range</description>
      <result valid="true">
	<errors>0</errors>
	<warnings>1</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/hsla004.css</file>
      <description>valid HSLa construct but two values out of range</description>
      <result valid="true">
	<errors>0</errors>
	<warnings>2</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/hsla005.css</file>
      element { color: hsla(1000, -50%, 150%, -0.1) }
      <description>valid HSLa construct but all values out of range</description>
      <result valid="true">
	<errors>0</errors>
	<warnings>4</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/hsla006.css</file>
      <description>invalid HSLa construct - first value should not be percentage</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/hsla007.css</file>
      <description>invalid HSLa construct - second value should be percentage</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/hsla008.css</file>
      <description>invalid HSLa construct - third value should be percentage</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgb001.css</file>
      <description>valid RGB construct</description>
      <result valid="true">
	<errors>0</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgb002.css</file>
      <description>valid RGB construct - but one value out of range</description>
      <result valid="true">
	<errors>0</errors>
	<warnings>1</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgb003.css</file>
      <description>valid RGB construct - but one value out of range</description>
      <result valid="true">
	<errors>0</errors>
	<warnings>1</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgb004.css</file>
      <description>valid RGB construct - but one value out of range</description>
      <result valid="true">
	<errors>0</errors>
	<warnings>1</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgb005.css</file>
      <description>valid RGB construct - but all values out of range</description>
      <result valid="true">
	<errors>0</errors>
	<warnings>3</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgb006.css</file>
      <description>invalid RGB construct - cannot mix numbers and percentages</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgb007.css</file>
      <description>invalid RGB construct - cannot mix numbers and percentages</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgb008.css</file>
      <description>invalid RGB construct - cannot mix numbers and percentages</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgb009.css</file>
      <description>invalid RGB construct - alpha channel is for RGBa</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgb020.css</file>
      <description>invalid RGB construct - missing one value</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgba001.css</file>
      <description>invalid RGBa construct - n't mix percentages and numbers and 0 is not 0%, apparently </description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgba002.css</file>
      <description>valid RGBa construct - but one value out of range </description>
      <result valid="true">
	<errors>0</errors>
	<warnings>1</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgba003.css</file>
      <description>valid RGBa construct - but one value out of range </description>
      <result valid="true">
	<errors>0</errors>
	<warnings>1</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgba004.css</file>
      <description>valid RGBa construct - but one value out of range </description>
      <result valid="true">
	<errors>0</errors>
	<warnings>1</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgba005.css</file>
      <description>valid RGBa construct - but all values out of range </description>
      <result valid="true">
	<errors>0</errors>
	<warnings>4</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgba006.css</file>
      <description>valid RGBa construct</description>
      <result valid="true">
	<errors>0</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgba007.css</file>
      <description>invalid RGBa construct - mixing percentage and numbers</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>

    <test profile="css3">
      <file>testsuite/properties/css3/rgba008.css</file>
      <description>invalid RGBa construct - mixing percentage and numbers</description>
      <result valid="false">
	<errors>1</errors>
	<warnings>0</warnings>
      </result>
    </test>
 </type>
</testsuite>
--- NEW FILE: css3-multicol.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
test markup also accepts 3 properties: warning, profile and medium
-->
<testsuite>
  <type title="CSS3_Multicol">
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/break-after-001.css</file>
      <description>css3-multicol: Valid 'break-after' values</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/break-before-001.css</file>
      <description>css3-multicol: Valid 'break-before' values</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/break-inside-001.css</file>
      <description>css3-multicol: Valid 'break-inside' values</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/column-count-001.css</file>
      <description>css3-multicol: Valid 'column-count' values</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/column-fill-001.css</file>
      <description>css3-multicol: Valid 'column-fill' values</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/column-gap-001.css</file>
      <description>css3-multicol: Valid 'column-gap' values</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/column-rule-001.css</file>
      <description>css3-multicol: Valid 'column-rule' values</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/column-rule-color-001.css</file>
      <description>css3-multicol: Valid 'column-rule-color' values</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/column-rule-color-002.css</file>
      <description>css3-multicol: Valid 'column-rule-color' values using CSS3 colors</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/column-rule-style-001.css</file>
      <description>css3-multicol: Valid 'column-rule-style' values</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/column-rule-width-001.css</file>
      <description>css3-multicol: Valid 'column-rule-width' values</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/color-span-001.css</file>
      <description>css3-multicol: Valid 'color-span' values</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/column-width-001.css</file>
      <description>css3-multicol: Valid 'column-width' values</description>
      <result valid="true"/>
    </test>
    <test profile="css3">
      <file>testsuite/properties/css3/css3-multicol/columns-001.css</file>
      <description>css3-multicol: Valid 'columns' values</description>
      <result valid="true"/>
    </test>
  </type>
</testsuite>
Received on Sunday, 20 December 2009 11:22:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:16 GMT