update textarea
This commit is contained in:
parent
b1cca31fa5
commit
b3e4c65c0b
29 changed files with 302 additions and 50 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue