Re: Rules in the spec that are only for HTML

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 UTC