W3C home > Mailing lists > Public > www-html@w3.org > August 1999


From: Chris Wilson <cwilso@MICROSOFT.com>
Date: Tue, 3 Aug 1999 09:47:17 -0700
Message-ID: <C35556591D34D111BB5600805F1961B90C3118B1@RED-MSG-47>
To: "'Alex Blewitt'" <Alex.Blewitt@ioshq.com>, www-html@w3.org
Except that this would be a significant and incompatible change from HTML
-Chris Wilson

-----Original Message-----
From: Alex Blewitt [mailto:Alex.Blewitt@ioshq.com]
Sent: Tuesday, August 03, 1999 5:09 AM
To: www-html@w3.org
Subject: XHTML

I do not particularly like the style of checked="checked" for input types.
It seems a little bit of overkill to have the repetition of 'checked' in the
HTML source. 

Surely a better approach would be to define a binary ENTITY type: 

<!ENTITY % Boolean "(yes|no)" "no"> 

and then use that for checked and other things 

<!ATTLIST input 
  checked %Boolean; #IMPLIED 
  disabled %Boolean; #IMPLIED 
  readonly %Boolean; #IMPLIED 

The boolean type could then be used in other boolean-style places, such as

Does this not make far more sense than having a per-element specific value? 

Received on Tuesday, 3 August 1999 13:28:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:51 UTC