`resize` event should be plain Event instead of UIEvent
External Issue #6827878
Steps to reproduce
URL:
Repro Steps:
- Open http://output.jsbin.com/rokoze in Edge 13.10586.
- Resize the window.
- Observe that the alert box says "The ‘resize’ event is of type: UIEvent".
In all other major browsers, the alert box instead says "The ‘resize’ event is of type: Event". (And this instance-of relationship can be verified by examining the resize
event object in the browsers’ JS consoles.)
Expected Results:
The resize
event should be an instance of Event rather than UIEvent.
Per https://drafts.csswg.org/cssom-view/#resizing-viewports
[…] fire an event named
resize
at the Window object associated with doc
And per https://dom.spec.whatwg.org/#concept-event-fire
To “fire an event named e” means that a new event using theEvent
interface, […]
Actual Results:
Dev Channel specific:
No
You need to sign in to your Microsoft account to add a comment.
Sign in