- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Tue, 12 Apr 2016 17:29:54 -0400
- To: ishida@w3.org, 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>
On 04/12/2016 03:50 PM, ishida@w3.org wrote: > 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. > > ie. > > <!doctype html> > <html> > <head> > <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. This makes sense to me! ~fantasai
Received on Tuesday, 12 April 2016 21:30:24 UTC