Re: Expected behaviour of quotation marks

fantasai scripsit (2016-04-07 22:26):
>> I'm not quite sure how to say that in selector-speak yet.
> 
>   [lang] { quotes: whatever; }
>   q, q [lang] { quotes: inherit; }

In case of <q lang="tlh">, this rule would generate quotation marks
depending on the language of the quote instead of the language of the
context (undesired Klingon quotation marks, not Terranian in this
example). Hence:

:lang(…) > q { quotes: … }


If you want nested quotes to inherit from the outermost quote, this
should do the trick, cf.
http://codepen.io/gunnarbittersmann/pen/repYNq?editors=1100

q q { quotes: inherit !important }

Using `!important` is not (always) a sin.

Gunnar

Received on Friday, 8 April 2016 12:54:58 UTC