Index: Source/core/dom/KeyboardEvent.idl |
diff --git a/Source/core/dom/KeyboardEvent.idl b/Source/core/dom/KeyboardEvent.idl |
index 134cb59c34afe583ffa6370a6385b796b8ca18f0..75ae36e4115fcdc46ece99e84cccfcbc74e5295b 100644 |
--- a/Source/core/dom/KeyboardEvent.idl |
+++ b/Source/core/dom/KeyboardEvent.idl |
@@ -23,7 +23,8 @@ |
] interface KeyboardEvent : UIEvent { |
[InitializedByEventConstructor] readonly attribute DOMString keyIdentifier; |
- [InitializedByEventConstructor] readonly attribute unsigned long keyLocation; |
+ [InitializedByEventConstructor] readonly attribute unsigned long location; |
+ [ImplementedAs=location, DeprecateAs=KeyboardEventKeyLocation, InitializedByEventConstructor] readonly attribute unsigned long keyLocation; // Deprecated. |
[InitializedByEventConstructor] readonly attribute boolean ctrlKey; |
[InitializedByEventConstructor] readonly attribute boolean shiftKey; |
[InitializedByEventConstructor] readonly attribute boolean altKey; |
@@ -36,7 +37,7 @@ |
[Default=Undefined] optional boolean cancelable, |
[Default=Undefined] optional Window view, |
[Default=Undefined] optional DOMString keyIdentifier, |
- [Default=Undefined] optional unsigned long keyLocation, |
+ [Default=Undefined] optional unsigned long location, |
[Default=Undefined] optional boolean ctrlKey, |
[Default=Undefined] optional boolean altKey, |
[Default=Undefined] optional boolean shiftKey, |