pageX/pageY have been moved from UIEvent to MouseEvent

Published: | Categories: DOM


The pageX and pageY properties, previously available on the UIEvent interface, have been moved to the MouseEvent interface, because the implementation of Firefox didn’t comply with the spec. It means these properties are no longer exposed to the CompositionEvent, FocusEvent, InputEvent, KeyboardEvent and TouchEvent interfaces which all inherit from UIEvent.

Google Chrome has already made the same change in version 45, and this bug fix should improve web interoperability.