W3C home > Mailing lists > Public > public-css-testsuite@w3.org > March 2009

RE: attribute-value-selector-004.xht not well formed

From: Robert Stam <robert@tallcomponents.com>
Date: Tue, 10 Mar 2009 02:44:00 -0500
Message-ID: <40BA97F694BF944EBB093147C34237900608ADF6@34093-EVS2C2.exchange.rackspace.com>
To: "Anne van Kesteren" <annevk@opera.com>, "Sylvain Galineau" <sylvaing@microsoft.com>, "L. David Baron" <dbaron@dbaron.org>
Cc: <public-css-testsuite@w3.org>
>-----Original Message-----
>From: public-css-testsuite-request@w3.org [mailto:public-css-testsuite-request@w3.org] On Behalf Of Anne van Kesteren
>Sent: Tuesday, March 10, 2009 8:29 AM
>To: Sylvain Galineau; L. David Baron
>Cc: public-css-testsuite@w3.org
>Subject: Re: attribute-value-selector-004.xht not well formed

>On Tue, 10 Mar 2009 02:43:44 -0000, Sylvain Galineau  
><sylvaing@microsoft.com> wrote:
>> Point well taken on fix-ups. However, we are talking here about an  
>> attribute. I agree with your main point i.e. we want to test that the  
>> entire rule is dropped. The best way to do that would be to use :
>>
>> <p 1badAttr="">This should be green</p>
>>
>> At which point we know the entire rule was dropped. Your proposal  
>> assumes that if p is not red then the other selector in the statement  
>> was also dropped. In other words, that the user agent's error handling  
>> is valid. But isn't that what we're trying to test ?

>If the selector is dropped, how could it ever match in the first place? In  
>any case, if you really want to test it like this maybe a better way would  
>be to use
>   <p title="1lala">
>and
>   [title=1lala]
>as that should have the same effect and work better in XML.

I fully agree with Anne, now the test file will be well formed. 
And based on the face that there are no single or double quotes around the 1lala part in the selector, it should be an IDENT.

Regards,
Robert Stam

TallComponents


Received on Tuesday, 10 March 2009 07:45:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:51:57 GMT