[Bug 20713] Consider defining window.event and Event.srcElement

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

Philip Jägenstedt <philipj@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipj@opera.com

--- Comment #6 from Philip Jägenstedt <philipj@opera.com> ---
Event.srcElement is around 20%:
https://www.chromestatus.com/metrics/feature/timeline/popularity/343

It's just an alias of target, so adding that seems like the only way to go.

Window.event is around 4% now:
https://www.chromestatus.com/metrics/feature/timeline/popularity/69

https://code.google.com/p/chromium/issues/detail?id=223749#c3 says that "Inline
event handlers have a local `event` binding in scope." but I'm not sure if
that's how it works in Blink. However it works, stuff like
onclick="event.target.style.color='red'" has to work.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 19 December 2014 23:31:23 UTC