[whatwg] Tri-state checkboxes
Lachlan Hunt
lachlan.hunt at lachy.id.au
Tue Oct 28 06:52:56 PDT 2008
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/
More information about the whatwg
mailing list