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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20225

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