Re: <q>

Thomas Broyer wrote:
> See also: http://www.w3.org/TR/CSS21/selector.html#lang which has an
> example of how a CSS stylesheet would look like for German and French
> (it is implied that q::before and q::after have their 'content'
> property set to open-quote and close-quote respectively)

But getting back to Olivier's point, if you have:

<span lang="x"><q lang="y">stuff</q</span>

the :before and :after of the <q> have lang="y" (since they are kids of 
the <q>; just put a border on the <q> to see).

Which makes it hard to use the CSS approach to give the quote the 
punctuation of the embedding language...

-Boris

Received on Tuesday, 28 October 2008 15:13:44 UTC