This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The specification states partial dictionary MouseEventInit { attribute long movementX = 0; attribute long movementY = 0; }; but it should be without the "attribute" keyword partial dictionary MouseEventInit { long movementX = 0; long movementY = 0; };
https://lists.w3.org/Archives/Public/public-webapps/2015JanMar/0156.html > I could use more information here. > http://www.w3.org/TR/DOM-Level-3-Events/#interface-MouseEvent specifies > MouseEvent attributes with the attribute keyword. WebIDL description of > attribute seems to apply here http://www.w3.org/TR/WebIDL/#idl-attributes. > Why shouldn't the attribute keyword be used? Because MouseEvent is an interface and MouseEventInit isn't. (It's a dictionary.)
Thanks, fixed.