« Return to Safari Bugs page

Safari support for languages and quotes

Default Safari rendering

English: "This quote "contains" a subquote."

German: "Diese Anführungszeichen "beinhalten" Unter-Anführungszeichen."

Japanese: "ぼくは"ニコラス"です。"

for a more complete test, please see my all languages quotes page.


Now rendered with my stylesheet applied…

Language attribute on <q> element

English: This quote contains a subquote.

German: Diese Anführungszeichen beinhalten Unter-Anführungszeichen.

Japanese: ぼくはニコラスです。

Language attribute inherited from <p> element

English: This quote contains a subquote.

German: Diese Anführungszeichen beinhalten Unter-Anführungszeichen.

Japanese: ぼくはニコラスです。

English + German: This quote beinhalten a subquote in German.

What the above should look like:

English: “This quote ‘contains’ a subquote.”

German: „Diese Anführungszeichen ‚beinhalten‘ Unter-Anführungszeichen.“

Japanese: 「ぼくは『ニコラス』です。」

English + German: “This quote ‘beinhalten’ a subquote in German.”

The stylesheet used

/* default, english */ q:before, q:lang(en):before { content: "\201C"; } q:after, q:lang(en):after { content: "\201D"; } q q:before, q:lang(en) q:before { content: "\2018"; } q q:after, q:lang(en) q:after { content: "\2019"; } /* german */ q:lang(de):before { content: "\201E"; } q:lang(de):after { content: "\201C"; } q:lang(de) q:before { content: "\201A"; } q:lang(de) q:after { content: "\2018"; } /* japanese */ q:lang(ja):before { content: "\300C"; } q:lang(ja):after { content: "\300D"; } q:lang(ja) q:before { content: "\300E"; } q:lang(ja) q:after { content: "\300F"; }