W3C home > Mailing lists > Public > www-style@w3.org > November 2009

Re: [CSS21] [css3-selectors] Default Attribute Values

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 03 Nov 2009 07:24:27 -0800
To: "Giovanni Campagna" <scampa.giovanni@gmail.com>, fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
Message-ID: <op.u2trq1ry64w2qv@anne-van-kesterens-macbook.local>
On Tue, 03 Nov 2009 05:37:49 -0800, Giovanni Campagna  
<scampa.giovanni@gmail.com> wrote:
> 2009/11/3 fantasai <fantasai.lists@inkedblade.net>:
>> The specs currently say that the UA is "not required to" match against
>> default attribute values. It's unclear whether the UA "may" match  
>> against them or is "required not to" match against them.
>
> I'd like it to say that the UA is "required to match against the
> current attribute value, which may include default attribute values if
> the source document has been modified by other means (DTD, XMLSchema,
> knowledge of the namespace)"
> This is similar to *may*, but the dependence is not on the UA
> implementing CSS differently, instead is on the choice between
> non-validating and validating processing and infoset (DOM / ESIS)
>
>>  http://www.w3.org/TR/CSS21/selector.html#default-attrs
>>  http://www.w3.org/TR/css3-selectors/#def-values

I don't think we have to say anything about this at all. Selectors match  
against the resulting tree. What the resulting tree looks like is not up  
to Selectors.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 3 November 2009 15:25:13 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:22 GMT