These tests use the spec styling. Lang values are chosen to avoid conflicts.

  1. un deux trois quatre cinq
  2. un two three four cinq
  3. un two drei four cinq
  4. un two drei vier fünf four cinq

In test #1, which is monolingual, the quotation marks work as expected. For the other multilingual quotes, the quotation marks are determined by the language of the text quoted.


These tests use a possible alternative styling that just swaps the position of the :not selector.

  1. un deux trois quatre cinq
  2. un two three four cinq
  3. un two drei four cinq
  4. un two drei vier fünf four cinq

The quotation marks are determined by the language of the text surrounding the quote.

One further problem, however, is that the secondary quotations marks are being chosen rather than the primary quotation marks.


These tests use an adaptation of the alternative styling proposed, with two separate lines per language.

  1. un deux trois quatre cinq
  2. un two three four cinq
  3. un two drei four cinq
  4. un two drei vier fünf four cinq

The quotation marks are determined by the language of the text surrounding the quote, and for this level of embedding they apply the primary and secondary quotation marks a little better.


These tests show what the browser does with no style declarations, using the language tags fr-CH, en, and de.

  1. un deux trois quatre cinq
  2. un two three four cinq
  3. un two drei four cinq
  4. un two drei vier fünf four cinq