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

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

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 10 Mar 2009 12:24:20 -0700
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <20090310192420.GA31097@pickering.dbaron.org>
On Tuesday 2009-03-10 12:09 -0700, Sylvain Galineau wrote:
> > And how can you possibly test for it given that any
> > correct implementation is going to throw the rule out anyway?
> That seems circular. Should we test user agents under the
> assumption that their implementation is correct ? I'm not quite
> sure I understand why XHTML or HTML well-formedness should take
> precedence over test coverage when that could allow a buggy
> implementation to pass the test *and* select the attribute.

What the spec requires is dropping the entire rule, which is a
stronger requirement than what you're testing for (failing to match
one selector within it), not a weaker one.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 10 March 2009 19:24:58 UTC

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