Skip to content

Commit

Permalink
Rename SharedKeyboardAndMouseEventInit to EventModifierInit
Browse files Browse the repository at this point in the history
  • Loading branch information
zeusintuivo committed Jul 11, 2016
1 parent 2239e82 commit d26bb29
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// https://w3c.github.io/uievents/#dictdef-eventmodifierinit
dictionary SharedKeyboardAndMouseEventInit : UIEventInit {
dictionary EventModifierInit : UIEventInit {
boolean ctrlKey = false;
boolean shiftKey = false;
boolean altKey = false;
Expand Down
2 changes: 1 addition & 1 deletion components/script/dom/webidls/KeyboardEvent.webidl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ partial interface KeyboardEvent {
};

// https://w3c.github.io/uievents/#dictdef-keyboardeventinit
dictionary KeyboardEventInit : SharedKeyboardAndMouseEventInit {
dictionary KeyboardEventInit : EventModifierInit {
DOMString key = "";
DOMString code = "";
unsigned long location = 0;
Expand Down
2 changes: 1 addition & 1 deletion components/script/dom/webidls/MouseEvent.webidl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface MouseEvent : UIEvent {
};

// https://w3c.github.io/uievents/#dictdef-eventmodifierinit
dictionary MouseEventInit : SharedKeyboardAndMouseEventInit {
dictionary MouseEventInit : EventModifierInit {
long screenX = 0;
long screenY = 0;
long clientX = 0;
Expand Down
4 changes: 2 additions & 2 deletions tests/wpt/web-platform-tests/html/dom/interfaces.html
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ <h1>HTML IDL tests</h1>
boolean getModifierState (DOMString keyArg);
};

dictionary MouseEventInit : SharedKeyboardAndMouseEventInit {
dictionary MouseEventInit : EventModifierInit {
long screenX = 0;
long screenY = 0;
long clientX = 0;
Expand All @@ -509,7 +509,7 @@ <h1>HTML IDL tests</h1>
EventTarget? relatedTarget = null;
};

dictionary SharedKeyboardAndMouseEventInit : UIEventInit {
dictionary EventModifierInit : UIEventInit {
boolean ctrlKey = false;
boolean shiftKey = false;
boolean altKey = false;
Expand Down

0 comments on commit d26bb29

Please sign in to comment.