W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > July 2007

ACTION 515 -New CSS approach

From: Abel Rionda <abel.rionda@fundacionctic.org>
Date: Fri, 6 Jul 2007 14:17:23 +0200
Message-ID: <09700B613C4DD84FA9F2FEA5218828190233CA55@ayalga.fundacionctic.org>
To: <public-mobileok-checker@w3.org>
 

This is a summary of what we  have already committed regarding CSS
stuff:

 

*So far, what was previously committed in CVS was explained in

 a mail some days ago but the main points were:

 

            -Java classes for represent CSS resources.

            -Representation in moki of CSS validation info.

            -Representation in moki of CSS test specific info.

 

*As Sean said, the last point was not very correct (having an
intermediate

doc with mobileOK test specific info) so we tried to proceed with using
java

functions from XSLT (similar approach to Caching test). 

But we desisted from this approach because Java functions would not
return primitives

types but blocks of XML result code, which it is not a very good
solution.

In addition tests classes would need visibility of PreprocessorResults
to extract CSS info

(what is not contained in moki) 

 

*So this week, we (basically Miguel) go on with another different
approach to fulfil

this problem. This is a pseudo serialization of CSS in XML in the
following format:

 

            <styles>

            <style>

               <selector>a:link</selector>

               <property name="color">rgb(0, 0, 204)</property>

            </style>

            <style>

               <selector>a:visited</selector>

               <property name="color">rgb(0, 0, 204)</property>

            </style>

 

      </styles>

 

And we have modified MeasuresTest and StylesheetsSupportTest to deal
with

this approach and also in order to use the new result template.

 

Any feedback on this will be welcome. :-)

 

CTIC team
Received on Friday, 6 July 2007 12:17:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:03 GMT