From c5d6b80cb6eae99aed461e20c99a286eaf352a2a Mon Sep 17 00:00:00 2001 From: Ramiro Araujo Date: Wed, 9 Nov 2016 13:23:48 -0300 Subject: treat select element as an input, setting focus to it --- tests/dom_tests/dom_tests.coffee | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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 = "" -- cgit v1.2.3