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

Italic

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>
Hi,

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
visible.

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) }


			Nico
Received on Thursday, 25 March 1999 09:14:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:58 GMT