W3C home > Mailing lists > Public > public-test-infra@w3.org > January to March 2017

Re: Fwd: Test Changes Proposal

From: James Graham <james@hoppipolla.co.uk>
Date: Thu, 16 Feb 2017 13:23:01 +0000
To: public-test-infra@w3.org
Message-ID: <415ef38a-463a-cd5d-76ed-83afe0a13e12@hoppipolla.co.uk>
On 16/02/17 12:00, Simon Pieters wrote:
> On Thu, 16 Feb 2017 01:29:22 +0100, Benjamin Schaaf
> <ben.schaaf@gmail.com> wrote:
>
>> I'm not really sure how we can tackle the user-agent defined margins
>> for rendering. Perhaps an easy way to change it automatically
>> throughout the tests would help?
>> How do other tests handle this?
>
> Yeah, we could have a single JS file that sets expected horizontal and
> vertical margins, where each vendor can put their own value, and that is
> used in the reference files to create the correct expected rendering...
>
> We have some similar things, like /resources/testharnessreport.js which
> is empty but each vendor can put stuff there for integration of
> testharness.js with some other system.

If that's the only possible option then we can possibly add a constants 
section to testharnessreport.js or something, but generally things that 
require implementors to do manual work on import are a bad idea because 
they will mostly not do it and then later be surprised when all the 
tests fail or error.
Received on Thursday, 16 February 2017 13:23:34 UTC

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