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, 07 Dec 2012 01:46:04 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20225-3890-1oOYOIfVfB@http.www.w3.org/Bugs/Public/>

--- Comment #8 from Ian 'Hixie' Hickson <ian@hixie.ch> ---
I don't distinguish binding code from implementation code; it's all one binary,
and some implementations don't have an explicit "binding" anyway. The check
about whether it's an HTMLCollection or HTMLPropertiesCollection has to be
somewhere. Whether it's in the implementation of the method or the binding,
it's the same cost; in theory, one pointer comparison.

By "I don't think that scales" I mean that it would mean that every time an
interface wants to specialise a base class' behaviour, the spec would have to
define what the superclass' method would do when applied to a subclass.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 7 December 2012 01:46:07 UTC

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