W3C home > Mailing lists > Public > www-style@w3.org > April 1997

Re: colours for bullets - this one is simple, works, & addresses

From: Ben Combee <combee@sso-austin.sps.mot.com>
Date: Wed, 16 Apr 97 08:35:08 CDT
Message-Id: <9704161335.AA17321@sso-austin.sps.mot.com>
To: "Scott E. Preece" <preece@predator.urbana.mcd.mot.com>
Cc: www-style@w3.org
Scott E. Preece writes:
 > 
 > Can someone comment on the history/rationale that led to FONT having
 > such a limited content model?  Why can't it be wrapped around
 > essentially anything?

Scott, basically, <FONT> is a special case of <SPAN> with implied
style.  <SPAN> designates a stream of characters, and since SGML
doesn't allow elements that overlap (no <A><B></A></B>), if <SPAN>
were to include everything, then serious problems would arise.  Think
about this -- if eny element were allowed in <FONT>, then you could
write

<P>This is <FONT><H1>a title</H1> <P>and a new paragraph</P></FONT>
inside a paragraph.</P>

something undesirable.

Any other comments on this?  With style sheets, <FONT> really becomes
syntatic sugar for <SPAN STYLE="...">
-- 
Ben Combee, Software Guru, (in 'ARMs way, perhaps???)
Motorola > MIMS > MSPG > AMG > AMCD > Austin Design Center
E-mail: ra3781@email.mot.com   Phone: (512) 891-7141
Received on Wednesday, 16 April 1997 09:35:39 GMT

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