update textarea

This commit is contained in:
Luke Pulverenti 2016-06-23 01:25:16 -04:00
parent b1cca31fa5
commit b3e4c65c0b
29 changed files with 302 additions and 50 deletions

View file

@ -173,6 +173,13 @@ suite('Polymer.IronA11yKeysBehavior', function() {
expect(keys.keyCount).to.be.equal(1);
});
test('keyEventTarget can be null, and disables listeners', function() {
keys.keyEventTarget = null;
MockInteractions.pressSpace(keys);
expect(keys.keyCount).to.be.equal(0);
});
test('trigger the handler when the specified key is pressed together with a modifier', function() {
var event = new CustomEvent('keydown');
event.ctrlKey = true;