aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRamiro Araujo2016-11-09 13:23:48 -0300
committerRamiro Araujo2016-11-09 13:23:48 -0300
commitc5d6b80cb6eae99aed461e20c99a286eaf352a2a (patch)
treeda027d1d3d93ea4639d207f12c01b4b62353be76 /tests
parent84b3e7d65d6cd7391f5b00cb77398cb60fe245bb (diff)
downloadvimium-c5d6b80cb6eae99aed461e20c99a286eaf352a2a.tar.bz2
treat select element as an input, setting focus to it
Diffstat (limited to 'tests')
-rw-r--r--tests/dom_tests/dom_tests.coffee5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/dom_tests/dom_tests.coffee b/tests/dom_tests/dom_tests.coffee
index eab47546..68611230 100644
--- a/tests/dom_tests/dom_tests.coffee
+++ b/tests/dom_tests/dom_tests.coffee
@@ -188,6 +188,11 @@ context "Test link hints for focusing input elements correctly",
testDiv.appendChild input
inputs.push input
+ # manually add the select element to test focus
+ input = document.createElement "select"
+ testDiv.appendChild input
+ inputs.push input
+
tearDown ->
document.getElementById("test-div").innerHTML = ""