mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
parent
8758d7d11a
commit
ad6c511a5e
6 changed files with 58 additions and 27 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue