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

XHTML, attribute minimization, and deployed UAs

From: Todd Fahrner <todd@verso.com>
Date: Sat, 27 Mar 1999 18:08:30 -0500 (EST)
To: www-html@w3.org
Message-id: <0F9A0065K0A1S9@mta2.snfc21.pbi.net>
I hope I'm wrong about this:

XHTML documents containing formerly minimizable attributes don't work in
current browsers.

In HTML, these constructs are common:

<input checked>
<option selected>
<ul compact>
<textarea wrap>   (ns extension)
<td nowrap>       (deprecated, but needed even in IE5 since it still doesn't
                   implement CSS1)

In XHTML, however, these must become:

<input checked="checked">
<option selected="selected">
<ul compact="compact">
<textarea wrap="wrap">
<td nowrap="nowrap">

...and in my testing with today's browsers, this syntax fails to deliver the
hoped-for results. I've tried adding whitespace in various places (a la <br
/>) without success.

This is a real deterrent to using XHTML for, say, tables and forms:
precisely the application where machine-generation and powerful
XML/DOM-based stuff is most compelling.

Again, I hope I'm wrong. But if I'm not, shouldn't this nasty fact be noted
in sections 4.2, 5, and Appendix C of the WD?

Todd Fahrner                    The printed page transcends space and time.
mailto:fahrner@pobox.com        The printed page, the infinitude of books,
http://style.verso.com/         must be transcended. THE ELECTRO-LIBRARY.
                                                   - El Lissitzky, 1923
Received on Monday, 29 March 1999 03:16:28 UTC

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