[whatwg] Specification unclear about how HTMLElement.prototype.onscroll's getter/setter should behave for "body" elements
Boris Zbarsky
bzbarsky at MIT.EDU
Mon Dec 3 17:44:35 PST 2012
On 12/3/12 8:16 PM, Cameron McCormack wrote:
> On 4/12/12 12:11 PM, Boris Zbarsky wrote:
>> Hmm. That, as phrased, is pretty complicated to implement in a
>> performant way, if the two methods/getters/setters have the same
>> signatures...
>
> Since I'm not terribly familiar with our generated bindings code, I'm
> not really sure what that would be. Is there a phrasing that would not
> be so complicated but does the same thing? :)
The problem is the functionality, not the phrasing.
I have to ask: are there languages or runtime systems that have that
sort of behavior on method calls (as opposed to in method
implementations in special cases where the operation is nonsensical)?
It seems weird to be requiring this behavior, in general.
-Boris
More information about the whatwg
mailing list