W3C home > Mailing lists > Public > public-html@w3.org > October 2008

Re: <q>

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 28 Oct 2008 08:12:59 -0700
Message-ID: <49072BFB.8020806@mit.edu>
To: Thomas Broyer <t.broyer@gmail.com>
CC: "public-html@w3.org" <public-html@w3.org>

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...

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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:38 UTC