W3C home > Mailing lists > Public > public-css-testsuite@w3.org > July 2015

Re: dependencies in tests

From: Florian Rivoal <florian@rivoal.net>
Date: Mon, 6 Jul 2015 15:31:06 +0200
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-Id: <95E4F77D-E433-4B5B-B177-91F8EE4022B6@rivoal.net>
To: fantasai <fantasai.lists@inkedblade.net>

> On 05 Jul 2015, at 17:34, fantasai <fantasai.lists@inkedblade.net> wrote:
> 
> On 06/16/2015 04:20 PM, Florian Rivoal wrote:
>> Hi,
>> 
>> I am wondering what to do when testing a feature A that depends on a feature B if B isn't available (and is something from another spec). Should I make that a pass condition? a fail condition? Something else?
>> 
>> Here's one concrete example:
>> 
>> For 'cursor: text', "User agents may automatically display a horizontal I-beam/cursor (e.g. same as the vertical-text keyword) for vertical text"
>> 
>> (This is a MAY, so the "may" flag meta flag is needed, but that's orthogonal to the question).
>> 
>> A simple test would involve using writing-mode to make a piece of vertical text, apply the text-cursor to it, and check what it looks like.
>> 
>> But what if the browser doesn't support writing modes?
>> 
>> Should the text in the test says something like "Test passes if ..., fails if ..., and if there is no vertical text, skip this test."?
>> 
>> I could not find guidance for this in the testthewebforward site.
> 
> We don't have anything set up here yet. It might be a good idea to create a new
> <link> or <meta> that handles this relationship: then Shepherd could mark invalid
> any passing results if the depended test isn't passed.
> 
> There are a number of things that we rely on heavily that wouldn't make sense to
> markup, though: we rely on absolute positioning, fixed widths and heights, colors
> and background colors, basic line-breaking (break on spaces, not between ASCII
> letters), etc.

Agreed.

> I'd recommend talking to Peter about this, since he's maintaining the test systems.

I guess this will be a F2F side conversation.

 - Florian
Received on Monday, 6 July 2015 13:31:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 6 July 2015 13:31:39 UTC