W3C home > Mailing lists > Public > public-html-testsuite@w3.org > September 2010

Re: HTML Testing Task Force Conf Call Agenda 9/7/2010

From: James Graham <jgraham@opera.com>
Date: Mon, 13 Sep 2010 11:00:31 +0200
Message-ID: <4C8DE82F.6090003@opera.com>
To: Ms2ger <ms2ger@gmail.com>
CC: Kris Krueger <krisk@microsoft.com>, "'public-html-testsuite@w3.org'" <public-html-testsuite@w3.org>
On 09/12/2010 09:24 PM, Ms2ger wrote:
> Kris Krueger wrote:
>> <krisk> since you need many 'references' - one for a unix box, one for
>> a phone, one for MAC, etc...
>> <krisk> The ref image ends up not really being a reference at all
>
> I think you are misunderstanding how reftests work. For example, if you
> have
>
> test.html
> [[[
> <p>There should be one line of text below this one.
> <p>This line should be visible
> <p hidden>This line should not be visible
> ]]]
>
> test.ref.html
> [[[
> <p>There should be one line of text below this one.
> <p>This line should be visible
> ]]]
>
> that would be sufficient for all platforms. Indeed, Mozilla runs a test
> along these lines on every checkin, on Windows, Mac and Linux, and on
> mobile phones.
>

Indeed. Furthermore the reftest should be self-describing (not all 
Mozilla reftests meet this criterion but the CSS WG requires it for 
reftests that form part of their official testsuite and I believe we 
should do the same). This means that you can always run the tests as if 
they were pure visual tests simply by reading the description. This 
eliminates any residual cross-platform concerns that might exist.
Received on Monday, 13 September 2010 09:01:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 13 September 2010 09:01:12 GMT