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

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