W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2011

[Bug 12845] Disallow shadowing attributes

From: <bugzilla@jessica.w3.org>
Date: Wed, 08 Jun 2011 05:47:03 +0000
To: public-script-coord@w3.org
Message-Id: <E1QUBbb-0004aD-Al@jessica.w3.org>

--- 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:03 UTC