mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update textarea
This commit is contained in:
parent
b1cca31fa5
commit
b3e4c65c0b
29 changed files with 302 additions and 50 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue