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

@ -251,6 +251,16 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
MockInteractions.blur(input.inputElement);
assert(!input.focused, 'input is blurred');
});
test('focusing then bluring with shift-tab removes the focused attribute correctly', function() {
MockInteractions.focus(input);
assert(input.focused, 'input is focused');
// Fake a shift-tab induced blur by forcing the flag.
input._shiftTabPressed = true;
MockInteractions.blur(input.inputElement);
assert(!input.focused, 'input is blurred');
});
});
suite('focused styling (integration test)', function() {