- From: L. David Baron <dbaron@dbaron.org>
- Date: Wed, 24 Nov 2010 15:19:48 -0800
- To: Aryeh Gregor <Simetrical+w3c@gmail.com>
- Cc: Philippe Le Hegaret <plh@w3.org>, HTML Test Suite <public-html-testsuite@w3.org>
On Wednesday 2010-11-24 16:11 -0500, Aryeh Gregor wrote: > On Wed, Nov 24, 2010 at 11:41 AM, Philippe Le Hegaret <plh@w3.org> wrote: > > I wonder if it would be possible to add support for negative reftests, > > ie two files who must not have the same rendering. > > > > test: > > אבג > > > > test-ref: > > <bdo dir="ltr">אבג</bdo> > > Why can't you have test-ref be > > <bdo dir="ltr">גבא</bdo> > > instead, and use a regular reftest? I think that's desirable in addition. However, it's very useful in reftests to have != reftests to check what you're doing, since the normal pass condition for reftests is so simple (image equality). Without this, an implementation that makes a whole set of tests all blank can pass them all. It's generally good to include a small number of != tests to verify that things that should be different actually are. -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/
Received on Wednesday, 24 November 2010 23:20:21 UTC