W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: window.event and Event.srcElement

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 25 Mar 2013 15:30:18 -0400
Message-ID: <5150A5CA.8050506@mit.edu>
To: Dave Methvin <dave.methvin@gmail.com>
CC: David Bruant <bruant.d@gmail.com>, public-webapps@w3.org
On 3/25/13 3:19 PM, Dave Methvin wrote:
>     Basically, either UAs that currently implement window.event remove
>     it or it's clearly required for web compat and hence needs to be
>     specified so other UAs can implement it.  I don't see any other sane
>     options; do you?
> I'm okay with the first one. Is that a real option?

That's something to ask the implementors of UAs shipping window.event, no?

Apart from the mobile cases that popped up recently it hasn't been a 
serious problem for Gecko, apart from the author confusion.

> seems
> like the uses on SO could easily be from clueless people doing the
> copy-pasta on very old code.

It's just "clueless" (read: normal) people writing code and forgetting 
to pass "event" from the handler, and it Just Working in some browsers 
but not others.

Received on Monday, 25 March 2013 19:30:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:59 UTC