W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] Tri-state checkboxes

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Tue, 28 Oct 2008 14:52:56 +0100
Message-ID: <49071938.3040705@lachy.id.au>
Hi,
   There's been some previous discussion about providing a way to 
support tri-state checkboxes, and I recently came across a feature 
that's supported in IE and WebKit for this purpose.

The DOM property HTMLInputElement.indeterminate is supported for <input 
type="checkbox">

http://msdn.microsoft.com/en-us/library/ms533894(VS.85).aspx

There doesn't seem to be any corresponding content attribute supported 
by either.

This was apparently also considered and rejected by the DOM2 WG several 
years ago.

http://lists.w3.org/Archives/Public/www-dom/2002AprJun/0106.html
http://www.w3.org/2001/12/DOM-Level-2-issues#i24

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Tuesday, 28 October 2008 06:52:56 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC