W3C home > Mailing lists > Public > public-test-infra@w3.org > October to December 2016

testharness.js v. reftests for rendering tests

From: Geoffrey Sneddon <me@gsnedders.com>
Date: Tue, 20 Dec 2016 12:03:02 +0000
To: public-test-infra@w3.org
Message-ID: <997fcfa5-29df-c783-3d42-fd808f120f06@gsnedders.com>

As far as I'm aware, we have no real defined policy as to how rendering
tests should be written. We essentially have two options: testharness.js
using the CSSOM or reftests.

I believe the current Blink policy is to use the former except when
testing paint code, and Gecko's is to use reftests for both.

On the whole, despite the performance penalty, I'd much favour
recommending reftests for both given the intrinsic link between
rendering and painting and the various optimisations different
implementations do to avoid invoking the various parts with different

Of course, if someone thinks the performance penalty is too high maybe
we'll have to reconsider.

Received on Tuesday, 20 December 2016 12:03:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:34:12 UTC