- From: Liam Quinn <liam@htmlhelp.com>
- Date: Mon, 04 Aug 1997 17:56:13 -0400
- To: www-style@w3.org
-----BEGIN PGP SIGNED MESSAGE----- At 02:05 PM 04/08/97 -0700, David Perrell wrote: >Consider FONT, for example. With this markup: > > <H1><FONT SIZE=24>Here is a headline</FONT></H1> > >FONT is a child of H1. H1 font-size is declared in UA defaults or user >stylesheet. With no explicit declaration, FONT will inherit that value. Shouldn't FONT be converted into its CSS equivalent, <SPAN STYLE="font- size: /* some UA-dependent mapping */"> (with a specificity of 1)? In that case, the FONT element would never be overridden by inherited values; I know this is not generally what people want, but it seems to be what is specified in the CSS1 Recommendation [1]. Normally, the Recommendation's advice concerning HTML presentational features gives the result sought (the HTML presentation is overridden), but it seems that FONT is a special case of evil ;) Of course, the CSS1 Recommendation only mentions HTML attributes, not HTML elements. Was this by accident, or was dealing with FONT purposefully avoided? [1] http://www.w3.org/TR/REC-CSS1#cascading-order -----BEGIN PGP SIGNATURE----- Version: PGP for Personal Privacy 5.0 Charset: noconv iQB1AwUBM+ZP/A/JhtXygIx1AQE1ggMAoxRnbt6O9JKD2Jk6gd+FdAofRhkyVP9Z IGVrS+Ij7kR9hpiMgmfKBy/lmH5YHCQAxzmW42HOEBCB3nQhWBKLKahyHpASsCky 4wc1LfRFMPHBKNl1vaYMsX517TUSqSOu =sarL -----END PGP SIGNATURE----- Liam Quinn =============== http://www.htmlhelp.com/%7Eliam/ =============== Web Design Group Enhanced Designs, Web Site Development http://www.htmlhelp.com/ http://enhanced-designs.com/ ====== PGP Key at http://www.htmlhelp.com/%7Eliam/pgp.html =====
Received on Monday, 4 August 1997 17:55:27 UTC