Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: LayoutTests/fast/events/arrow-keys-on-body.html

Issue 20034002: Add support for KeyboardEvent.location attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/events/arrow-keys-on-body-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/arrow-keys-on-body.html
diff --git a/LayoutTests/fast/events/arrow-keys-on-body.html b/LayoutTests/fast/events/arrow-keys-on-body.html
index 980f5f8eb6d3fa6762f20183375f3eef2a86d7b8..dab61a6e57e93378f20b116bcafbcc63e3134c37 100644
--- a/LayoutTests/fast/events/arrow-keys-on-body.html
+++ b/LayoutTests/fast/events/arrow-keys-on-body.html
@@ -41,7 +41,7 @@ function eventInfo(event, where) {
+ " - " + event.type
+ ' - ' + [event.ctrlKey, event.altKey, event.shiftKey, event.metaKey]
+ ' - ' + event.keyIdentifier
- + ' - ' + (event.keyLocation === undefined ? "undefined" : locationName(event.keyLocation))
+ + ' - ' + (event.location === undefined ? "undefined" : locationName(event.location))
+ ' - ' + event.keyCode
+ ' - ' + event.charCode;
@@ -51,7 +51,7 @@ function eventInfo(event, where) {
}
log("target - type - " + ["ctrlKey", "altKey", "shiftKey", "metaKey"]
+ ' - ' + "keyIdentifier"
- + ' - ' + "keyLocation"
+ + ' - ' + "location"
+ ' - ' + "keyCode"
+ ' - ' + "charCode");
« no previous file with comments | « no previous file | LayoutTests/fast/events/arrow-keys-on-body-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698