diff options
| author | mrmr1993 | 2014-10-12 18:28:20 +0100 | 
|---|---|---|
| committer | mrmr1993 | 2014-11-05 22:37:16 +0000 | 
| commit | 6d3d88831e06e9822d67991b9dcd85382a41fe69 (patch) | |
| tree | e6afa6dcc1daf0a1b720e1766aacca2565d77ab4 /lib/keyboard_utils.coffee | |
| parent | d1cf578ea33202c5b94c8a596c254b2ab6eee5da (diff) | |
| download | vimium-6d3d88831e06e9822d67991b9dcd85382a41fe69.tar.bz2 | |
Add support for selecting HTML5 inputs, change criterion to a blacklist
This is designed to address several issues:
* `<input type="range" />` elements don't respond well to the simulated
click; they always reset their value to the minimum.
* The lack of `mouseup` event from the simulated click makes
`<input type="range />` elements slide when the mouse is moved.
* HTML5 adds a large number of text-based `<input>`s that should be focused
like the `type="text"` case, for consistency. (Using a blacklist halves
the number of types we have to list.)
* An `<input>` with a `type` the browser doesn't support is rendered as
a `type="text"`, so a blacklist ensures that the focusing action is
consistent on all elements behaving as `type="text"`.
Diffstat (limited to 'lib/keyboard_utils.coffee')
0 files changed, 0 insertions, 0 deletions
