W3C home > Mailing lists > Public > public-css-testsuite@w3.org > April 2016

Re: Towards a better testsuite: Metadata

From: <ishida@w3.org>
Date: Tue, 12 Apr 2016 20:50:46 +0100
To: fantasai <fantasai.lists@inkedblade.net>, Geoffrey Sneddon <me@gsnedders.com>, Florian Rivoal <florian@rivoal.net>
Cc: www-style list <www-style@w3.org>, "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <570D5196.1060009@w3.org>
On 12/04/2016 20:10, fantasai wrote:
> The test template would look like this:
> <!DOCTYPE html>
> <title>
>    Title of your test on one line [optional]
>    ... Assertion of your test, i.e. what does passing this test
>    prove. E.g. When text-align is not set, its initial value depends
>     on dir attribute.) ...
> </title>

i'm still not keen on this.  It's risky. For example, how do you tell 
whether there's a one line short title followed by an assertion 
paragraph or no short title but two paragraphs? It also requires dealing 
with different line breaks, and there's a risk of lines not being 
properly separated, etc.

if we have to use the title element, how about using the title attribute 
with it for the optional bit, ie. the short title.  Then at least we can 
tell the difference easily.


<!doctype html>
<meta charset="UTF-8">
<title title="short title for your test">Assertion, i.e. in situation X, 
Y will happen. E.g. When text-align is not set, its initial value 
depends on the dir attribute.</title>

and btw in the documentation i'd say that the title attribute is 
optional, but recommended.

Received on Tuesday, 12 April 2016 19:50:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:21 UTC