ISSUE-140: Multilingual q nesting

Multilingual q nesting

Raised by:
Richard Ishida
Opened on:
7.1. Inserting quotes with the 'content' property

I'm wondering whether we need a way to reset the embedding levels of quotes.

Here's the reason:

If you have the following CSS:

:lang(en) > * { quotes: '"' '"' "'" "'"; }
:lang(no) > * { quotes: "«" "»" '"' '"' }

And you have

<p lang=no>Some Norwegian text <q>more norwegian <q>more norwegian</q></q>.</p>

You'd expect to see

Some Norwegian text «more norwegian "more norwegian"».

which perfectly fine.

But if you had

<p lang=en>Some English text <q lang=no>Some norwegian <q>more

Then I think you'd see

Some English text "Some norwegian "more norwegian"".

I'd have thought that the quotes surrounding the text 'more norwegian' here
should be surrounded by «...». This could maybe be done by a rule that says
that if a q element carries a lang attribute, the next embedded q attribute
should use the highest level quote marks.

Or perhaps it needs some attribute to reset the levels?

In addition, maybe that would also give you more control over how the quotes
are used in other situations (such as to replicate the original text) -
although perhaps that's best achieved using special class names or just by
avoiding q altogether.
Related Actions Items:
No related actions
Related emails:
  1. Review of tracker issues for best practices (Part IV) (from on 2015-03-31)
  2. Re: i18n-ISSUE-140: Multilingual q nesting [CSS21] [css3-content] (from on 2012-02-29)
  3. i18n-ISSUE-140: Multilingual q nesting (from on 2012-02-29)
  4. [minutes] i18n telecon, 2012-02-29 (from on 2012-02-29)
  5. I18N-ISSUE-140: Multilingual q nesting [CSS3-GARC-prep] (from on 2011-07-28)

Related notes:

No additional notes.

Display change log ATOM feed

Addison Phillips <>, Chair, Richard Ishida <>, Fuqiao Xue <>, Atsushi Shimono <>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $