W3C home > Mailing lists > Public > www-style@w3.org > March 1999


From: Nicolas Lesbats <nlesbats@etu.utc.fr>
Date: Thu, 25 Mar 1999 15:14:43 +0100 (MET)
To: www-style@w3.org
Message-ID: <Pine.OSF.4.02.9903251454240.27197-100000@vega.utc.fr>

I think another value could be added to the font-style property, which
would be :

E { font-style: reverse(italic, normal) }

If the parent "font-style" value is "normal", the E element will take
an "italic" value (and vice versa).

With this, there wouldn't be a problem with the <Em> element anymore.
Before :

Em { font-style: italic }
Em Em { font-style: normal }

Problem : if you have, for example

P.note { font-style: italic }

any <EM> element within a paragraph with class="note" attribute won't be

I don't know if the "reverse()" value could be extended to another
property, and if the compatibility would be respected if the <Em> element
was defined by :

Em { font-style: italic reverse(italic, normal) }

Received on Thursday, 25 March 1999 09:14:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:49 UTC