W3C home > Mailing lists > Public > www-style@w3.org > May 2006

Re: Deep nesting of quotes

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 16 May 2006 12:31:41 +0200
To: www-style@w3.org
Message-ID: <20060516103141.GA2654@ridley.dbaron.org>
On Tuesday 2006-05-16 12:17 +0400, Simon Montagu wrote:
>  q, cite { quotes: '\27' '\27' '\22' '\22' }

The normal English convention that I'm familiar with would be to reverse
these pairs.

>  q:before, cite:before { content: open-quote }
>  q:after, cite:after { content: close-quote }
> 
> the following HTML fragment
> 
>  <p>I said <q>Tony Hazzard wrote <cite><q>Ha ha</q> said the 
> clown</cite></q></p>
> 
> would be rendered
> 
>  I said 'Tony Hazzard wrote ""Ha ha" said the clown"'

I think I would expect:

I said "Tony Hazzard wrote ''Ha ha'' said the clown'"

which is what CSS would yield with the pairs of quotes the other way
around.

That said, three levels of quotes nested is probably bad style anyway.
I'm not sure where to look for actual examples of that in print.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Tuesday, 16 May 2006 10:31:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:45 GMT