// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://w3c.github.io/uievents/#idl-def-MouseEventInit
dictionary MouseEventInit : EventModifierInit {
double screenX = 0;
double screenY = 0;
double clientX = 0;
double clientY = 0;
short button = 0;
unsigned short buttons = 0;
EventTarget? relatedTarget = null;
// Pointer Lock
// https://w3c.github.io/pointerlock/#extensions-to-the-mouseeventinit-dictionary
long movementX = 0;
long movementY = 0;
// Canvas Hit Regions
// https://html.spec.whatwg.org/C/#hit-regions:mouseeventinit
DOMString? region = null;
};