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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 10 Mar 2009 07:29:07 -0000
To: "Sylvain Galineau" <sylvaing@microsoft.com>, "L. David Baron" <dbaron@dbaron.org>
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <op.uqke2tol64w2qv@anne-van-kesterens-macbook.local>
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">



as that should have the same effect and work better in XML.

Anne van Kesteren
Received on Tuesday, 10 March 2009 07:30:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:18 UTC