Re: Deep nesting of quotes

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 UTC