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

Unified Diff: third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js

Issue 1336623003: [MD settings] updating polymer to 1.1.13 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed Polymer.IronCheckedElementBehavior name Created 5 years, 3 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: third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js
diff --git a/third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js b/third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js
index 323b24053b64a831e368d119af04ce9dee609476..324390e858b3c3e718872dc200f69a63cd9a09c8 100644
--- a/third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js
+++ b/third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js
@@ -84,6 +84,9 @@
}
function tap(node) {
+ // Respect nodes that are disabled in the UI.
+ if (window.getComputedStyle(node)['pointer-events'] === 'none')
+ return;
var xy = middleOfNode(node);
down(node, xy);
up(node, xy);

Powered by Google App Engine
This is Rietveld 408576698