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

Unified Diff: polymer_1.2.3/bower_components/iron-menu-behavior/iron-menubar-behavior.html

Issue 1581713003: [third_party] add polymer 1.2.3 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: 1.2.3 Created 4 years, 11 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
Index: polymer_1.2.3/bower_components/iron-menu-behavior/iron-menubar-behavior.html
diff --git a/polymer_1.0.4/bower_components/iron-menu-behavior/iron-menubar-behavior.html b/polymer_1.2.3/bower_components/iron-menu-behavior/iron-menubar-behavior.html
similarity index 89%
copy from polymer_1.0.4/bower_components/iron-menu-behavior/iron-menubar-behavior.html
copy to polymer_1.2.3/bower_components/iron-menu-behavior/iron-menubar-behavior.html
index e25304a5ec329cd3b0f1e8ab259676028d36b215..dc707a7053c672f178a395c8b61def8f8103e74b 100644
--- a/polymer_1.0.4/bower_components/iron-menu-behavior/iron-menubar-behavior.html
+++ b/polymer_1.2.3/bower_components/iron-menu-behavior/iron-menubar-behavior.html
@@ -30,11 +30,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
},
_onUpKey: function(event) {
- this._activateFocused(event.detail.keyboardEvent);
+ this.focusedItem.click();
+ event.detail.keyboardEvent.preventDefault();
},
_onDownKey: function(event) {
- this._activateFocused(event.detail.keyboardEvent);
+ this.focusedItem.click();
+ event.detail.keyboardEvent.preventDefault();
},
_onLeftKey: function() {
@@ -46,7 +48,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
},
_onKeydown: function(event) {
- if (this.keyboardEventMatchesKeys(event, 'up down left right esc enter')) {
+ if (this.keyboardEventMatchesKeys(event, 'up down left right esc')) {
return;
}

Powered by Google App Engine
This is Rietveld 408576698