W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2010

[Bug 11028] please allow true/false (or some way to have a value but switch the attribute off). this has always been annoying.

From: <bugzilla@jessica.w3.org>
Date: Wed, 13 Oct 2010 17:16:41 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1P64wT-0004wn-Ec@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11028

Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackalmage@gmail.com

--- Comment #1 from Tab Atkins Jr. <jackalmage@gmail.com> 2010-10-13 17:16:40 UTC ---
The correct way to switch a boolean attribute off is to use removeAttribute. 
Using "true"/"false" is impossible for the legacy boolean attributes (browsers
have long ignored their actual value and only keyed off of their presence or
absence), and using it for new boolean attributes only would be extremely
confusing for little benefit.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 13 October 2010 17:16:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:59 UTC