← Back to release summary

Remove window.event for Shadow DOM

Category
CSS
Type
New or changed feature
Status
Enabled by default (Chrome 64)
Intent stage
None

Summary

The contex is: https://github.com/whatwg/dom/issues/334 We are trying to standardize certain Microsoft event extensions. One of them is window.event. Blink *supports* window.event. In the discussion, we agreed that window.event should be *undefined* if an Event's target is in a shadow tree. That is effectivery equivalent to *removing* window.event for Shadow DOM.

Standards & signals

View on chromestatus.com