DOM event constructors
initEvent() constructor pattern for synthetic events is now deprecated and replaced by the DOM4 event constructor pattern. This change makes it much simpler to create synthetic events with fewer steps and significantly more readable code.
The Gamepad API enables your web-based game to take advantage of the specialized input functionality of gamepad devices.
Input Method Editor API
The Input Method Editor API provides composition information for auto-complete or search suggestions, and enables you to avoid user interface collisions between an IME candidate window and a search suggestion list.
The MutationObserver API efficiently detects and reacts to changes in the DOM, such as addition or removal of child nodes, attribute changes, or a change in a child text node value.
Modelled after traditional mouse events, Pointer Events use the abstract concept of a pointer to apply across all user input modalities, including mouse, touch, and pen. Create a seamless user experience across user input methods by writing to a single set of events that work across hardware capabilities.
The Pointer Lock API (previously called Mouse Lock) can access raw mouse movement, locking the target of mouse events to a single element, eliminating the limits of how far mouse movement can go in a single direction, and removing the cursor from view. With the mouse locked, the pointer can be moved all around, and it will never leave the focus of the element.
Touch Events allow you to interpret user interaction with a touch screen via finger, stylus, or trackpad, including multi-touch interactions for complex gestures.
The XPath API provides native support for locating and processing elements in XML documents.