W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

[Bug 20225] don't allow overridden operations and attribute getters/setters to be invoked on descendant objects

From: <bugzilla@jessica.w3.org>
Date: Fri, 28 Dec 2012 12:47:52 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20225-3890-yyiCn9KBLk@http.www.w3.org/Bugs/Public/>

--- Comment #16 from Anne <annevk@annevk.nl> ---
I'd be happy to change namedItem() on HTMLCollection back to 'Element?'.

I also agree that subclassing with different behavior for some methods seems
bad. It might be better to just duplicate the interface in such a scenario. If
it's common we could have something like this

interface HTMLPropertiesCollection = HTMLCollection {
  // except for these members

but I doubt we'd need this often.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 28 December 2012 12:47:54 UTC

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