[Bug 12845] Disallow shadowing attributes

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12845

--- Comment #24 from Boris Zbarsky <bzbarsky@mit.edu> 2011-06-08 05:47:01 UTC ---
My main point is that it doesn't make sense to put a property on HTMLElement if
that property doesn't actually "work" for all HTML elements.  In that
situation, it should just go on more derived interfaces as needed.  That is,
every single instance of overriding I see in the HTML spec right now, with the
exception of readwrite attributes overriding readonly ones, looks like a spec
bug to me.

Which raises the question of why we want to allow those sorts of spec bugs....

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 8 June 2011 05:47:04 UTC