diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2015-03-30 13:32:48 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2015-04-04 10:57:11 -0700 |
commit | ad6c511a5eff974087df99f75522d38cb639aaef (patch) | |
tree | 0d450c8766a633e0752f4bf599e43e09e3336567 /tests/content/test_document_activeElement.html | |
parent | 8758d7d11abd3a0e84e2af5c41911b767723513e (diff) | |
download | servo-ad6c511a5eff974087df99f75522d38cb639aaef.tar.gz servo-ad6c511a5eff974087df99f75522d38cb639aaef.zip |
Basic element.focus and blur methods
Fixes #5462.
Diffstat (limited to 'tests/content/test_document_activeElement.html')
-rw-r--r-- | tests/content/test_document_activeElement.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/content/test_document_activeElement.html b/tests/content/test_document_activeElement.html index 8cce6cfa210..fee51456282 100644 --- a/tests/content/test_document_activeElement.html +++ b/tests/content/test_document_activeElement.html @@ -10,10 +10,9 @@ is_not(document.activeElement, null, "test_1.1, document.activeElement"); is(document.activeElement, document.body, "test_1.2, document.activeElement"); - //TODO: uncomment following lines when focus() method will be available - //document.getElementById('foo').focus(); + document.getElementById('foo').focus(); is_not(document.activeElement, null, "test_2.1, document.activeElement"); - //is(document.activeElement, document.getElementById("foo"), "test_2.2, document.activeElement"); + is(document.activeElement, document.getElementById("foo"), "test_2.2, document.activeElement"); </script> </body> </html> |