Re: <q>

2008/10/29 Daniel Glazman <daniel.glazman@disruptive-innovations.com>
>
> CSS is already here to describe how a quote is quoted.


I assume you mean section 12.3 of the CSS 2.1 spec[1].

I've had mixed results with the rules specified therein, especially the
nesting rules. My impression is that even the major browsers are not
consistent in their implementation of them.

A further problem is the assumption that quotes are rendered with things
that come before and/or after the quote (both s12.3.1 and s12.3.2 assume
this), rather than, say, being rendered as italics. However, this is just a
flaw in the prose of those sections: I'm pretty sure it's not a normative
problem.

I think that the rules made available by CSS 2.1 could probably be put to
good use in specifying quoting styles in a default style sheet for HTML 5,
for the range of languages covered[2].

[1]http://www.w3.org/TR/CSS21/generate.html#quotes
[2]Likely, I guess, to be those covered by
http://www.w3.org/TR/html401/types.html#type-langcode

Received on Wednesday, 29 October 2008 23:55:28 UTC