Re: Comments on Cougar DTD

Arnoud (galactus@stack.urc.tue.nl)
Fri, 19 Jul 1996 20:36:23 +0200


From: galactus@stack.urc.tue.nl (Arnoud "Galactus" Engelfriet)
To: www-html@w3.org
Subject: Re: Comments on Cougar DTD
Date: Fri, 19 Jul 1996 20:36:23 +0200
Message-ID: <nW97x4uYO5Oc089yn@stack.urc.tue.nl>

In article <199607181906.MAA03197@cougar.crc.ricoh.com>,
"Marcus E. Hennecke" <marcush@crc.ricoh.com> wrote:
> On Thu, 18 Jul 1996 20:06:49 +0200, galactus@stack.urc.tue.nl (Arnoud "Galactus" Engelfriet) wrote:
> > Would simply changing <!ENTITY % attrs "%style %i18n"> to
> > <!ENTITY % attrs "%style %i18n %just"> do the trick, or would this
> > cause problems with other elements?
> 
> This would indeed cause problems. The ALIGN attribute should only be
> allowed for block-like elements. If you make it part of %attrs;, you
> could write <B ALIGN=CENTER> and that would mean that B implied a
> line break (otherwise how would you center?).

I discovered that 20 minutes after posting that message. Sigh. Next time
I'll read the DTD until I figure it out. :-)

I would like to propose the following change to Cougar[0]:

A new entity:
<!ENTITY % Battrs "%style %i18n %just">
This is used instead of %attrs on the following (block) elements:

<H1>, <H2>, <H3>, <H4>, <H5>, <H6>, <ADDRESS> <P>, <UL>, <OL>, <DIR>,
<MENU>, <PRE>, <DL>, <DIV>, <BLOCKQUOTE>, <FORM>, <HR>, and <TABLE>.

Did I miss any?

Galactus
[0] My mom would be proud of me if she saw I wrote that. :-)
-- 
To find out more about PGP, send mail with HELP PGP in the SUBJECT line to me.
E-mail: galactus@stack.urc.tue.nl - Please PGP encrypt your mail if you can.
Finger galactus@turtle.stack.urc.tue.nl for public key (key ID 0x416A1A35).
Anonymity and privacy site: <http://www.stack.urc.tue.nl/~galactus/remailers/>