W3C home > Mailing lists > Public > public-i18n-bidi@w3.org > July to September 2010

Re: HTML attribute with no value

From: Tab Atkins <tabatkins@google.com>
Date: Mon, 20 Sep 2010 09:19:48 -0700
Message-ID: <AANLkTinbXQvAR9OSVkMZwCNf6OSRM0zWXkk9KpRtcXZd@mail.gmail.com>
To: "Aharon (Vladimir) Lanin" <aharon@google.com>
Cc: Martin J. Dürst <duerst@it.aoyama.ac.jp>, public-i18n-bidi@w3.org
On Sun, Sep 19, 2010 at 10:11 PM, Aharon (Vladimir) Lanin
<aharon@google.com> wrote:
> Thanks, that's very helpful! It explains why we need the empty string value.
> The question then is whether the non-empty true value really needs to be
> "ubi" or can be "on", and we should indeed raise it in the HTML5 bug. The
> reason we want it at all is XHTML, where valueless attributes are not
> allowed. Even there, though, it could be given as ubi="", but obviously
> ubi="on" is a lot clearer.

I believe I suggested ubi=ubi to match with common practice in HTML,
where, for legacy reasons, all the boolean attributes inherited from
HTML4 accept their name as an 'on' value, and for consistency all the
new boolean attributes do the same.

~TJ
Received on Monday, 20 September 2010 16:20:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 16:20:37 GMT