← Back to release summary

MouseEvent.getModifierState

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

Summary

MouseEvent.getModifierState is unimplemented. KeyboardEvent.getModifierState is implemented; but the action on the MouseEvent isn't. We need to be consistent in our APIs this is a simple change to bring matching spec behavior. http://www.w3.org/TR/DOM-Level-3-Events/#widl-MouseEvent-getModifierState

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/getModifierState

Samples: https://googlechrome.github.io/samples/mouseevent-get-modifier-state/index.html

View on chromestatus.com