ACTION 515 -CSS stuff partially done

Hi everyone,

 

Although code in CVS is being updating with the new test format, we have
committed 

some changes related to our CSS action.

 

 

*We have introduced stylesheet block. So far this stylesheet tag can be
built from

 linked  or embedded CSS Resources. In both cases W3CValidator will
process any 

@import rule found (But we lose the retrieval information of imported
CSS). So there will be 

an stylesheet block per top level CSS resource) 

 

*CSS validity messages from W3CValidator tool are allocated inside a
CSSValidity block with

the same structure  used for grammar
validation.(error-location-description).

 

*For each CSS test we have an special block with the information needed
to pass the test 

via XSLT. Currently we only have the information for Style Sheet Support
Test.

 

To illustrate these changes see the following extract from moki
document.

 

 

<stylesheets>

      <stylesheet type="embedded">

         <URI>http://idi.fundacionctic.org/bk/google.xhtml</URI>

         <CSSValidity valid="false">

            <error code="-1">

               <location type="LineAndColumn">1, 0</location>

               <description>Property colo doesn't exist</description>

            </error>

         </CSSValidity>

         <stylesheetSupportTest>

            <error code="-1">

               <location type="LineAndColumn">1, 0</location>

               <description>float:left</description>

            </error>

         </stylesheetSupportTest>

      </stylesheet>

   </stylesheets>

 

 

Received on Tuesday, 26 June 2007 16:06:49 UTC