W3C home > Mailing lists > Public > www-style@w3.org > October 2000

Re: A problem on SAC 1.1

From: Philippe Le Hegaret <plh@w3.org>
Date: Fri, 27 Oct 2000 16:54:52 -0400
Message-ID: <39F9EB9C.EB4C82F3@w3.org>
To: 안호성 <NavyBlue@swc.sec.samsung.co.kr>
CC: "'www-style@w3.org'" <www-style@w3.org>
안호성 wrote:
> 
> I'm Ho-sung Ahn.
> 
> I found a problem on a SAC interface.
> 
> The method getValue() in the interface AttributeCondition has a problem in
> below case.
> 
> P.pastoral.marine { color: green }
> 
> The specification does not describe how implement the interface in above
> case.
> 
> Should an implementation of SAC return "pastoral.marine"?

No, you will end up with two AttributeCondition of type SAC_CLASS_CONDITION.
the first getValue will return "pastoral" and the second getValue will
return "marine". Both conditions are combined using a CombinatorCondition.

Philippe
Received on Friday, 27 October 2000 16:56:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:06 GMT