Index: third_party/polymer/components/iron-behaviors/test/active-state.html |
diff --git a/third_party/polymer/components/iron-behaviors/test/active-state.html b/third_party/polymer/components/iron-behaviors/test/active-state.html |
index 8735aafba0bbcf53b6e84a7d585cf157781c0955..e1ed4791fda7359b5464e8b3c846c39ac759882e 100644 |
--- a/third_party/polymer/components/iron-behaviors/test/active-state.html |
+++ b/third_party/polymer/components/iron-behaviors/test/active-state.html |
@@ -125,6 +125,16 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
}); |
}); |
}); |
+ |
+ suite('on blur', function() { |
+ test('the pressed property becomes false', function() { |
+ MockInteractions.focus(activeTarget); |
+ MockInteractions.down(activeTarget); |
+ expect(activeTarget.hasAttribute('pressed')).to.be.eql(true); |
+ MockInteractions.blur(activeTarget); |
+ expect(activeTarget.hasAttribute('pressed')).to.be.eql(false); |
+ }); |
+ }); |
}); |
suite('without toggles attribute', function() { |