Re: [css3-text] comments on text-transform

Peter Moulder wrote:

> > New wording, v2:
> >
> >   If and only if the content language of the element is known,
> >   according to the rules of the document language such as those
> >   for HTML, then language-specific rules must also be applied. 
> >   These minimally include, but are not limited to, the rules in
> >   Unicode's SpecialCasing.txt [ref].
> 
> I don't understand what "such as those for HTML" conveys that
> "according to the rules of the document language" doesn't.  Ah, I
> see that css3-text doesn't include a definition of the phrase
> "document language"; if the intent was to clarify that phrase for
> the reader, then I suggest hyperlinking that phrase to
> http://www.w3.org/CSS21/conform.html#doclanguage (which mentions
> HTML as an example of a document language).  Hyperlinking like this
> is the approach that css3-text currently uses for clarifying other
> terms such as "ignore", "UA" etc.

Since HTML is the primary document language for which CSS is used, it
doesn't hurt to make it clear that HTML has rules that describe how
language is inferred. Adding a link to the definition of "document
language" is a fine idea.

Regards,

John Daggett

Received on Thursday, 6 October 2011 00:46:06 UTC