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

Re: Rules in the spec that are only for HTML

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 09 Jul 2007 13:18:59 -0400
Message-ID: <46926E03.6010407@inkedblade.net>
To: Arron Eicholz <Arron.Eicholz@microsoft.com>
CC: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>

Arron Eicholz wrote:
> There are some rules in the CSS spec that only apply to HTML. How do we create these cases when
> we create all cases using an XHTML template?
> 
> I am recommending that we create these case as valid HTML following the same template as the
> XHTML (with some minor changes) and mark the test in the flags section with "-XHTML".
>
> Changes that would have to be made for this type of case:
> 
> * flags meta element would need to have a flag identifying that this case is not valid for XHTML.
>  * case needs to be written in HTML strict (change the doctype) * need to remove the xmlns
> attribute from the html start tag * need to remove the closing slashes from empty elements

We could either create those tests as HTML 4.01 Strict, or create them as XHTML with
an HTMLonly flag and let the build scripts handle the conversion. If we go the latter
route, they'll fail until converted by the build scripts, but if we add any more output
formats based on HTML, at least they will be automatically converted to those, too.

> We may also need a flag for cases that don't apply to HTML as well since there are other
> scenarios that do not apply to HTML. In this case I recommend a flag of "-HTML"

or maybe 'nonHTML'?

~fantasai
Received on Monday, 9 July 2007 17:19:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:51:55 GMT