| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body id="body"> | 6 <body id="body"> |
| 7 | 7 |
| 8 <div contentEditable=true style="outline:1px solid"></div> | 8 <div contentEditable=true style="outline:1px solid"></div> |
| 9 | 9 |
| 10 <h3 id="h3" tabindex=0>test</h3> | 10 <h3 id="h3" tabindex=0>test</h3> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 // make sure this element is NOT the h3 element (which otherwise would b
e the first element) | 23 // make sure this element is NOT the h3 element (which otherwise would b
e the first element) |
| 24 var editableDiv = accessibilityController.focusedElement.childAtIndex(0)
; | 24 var editableDiv = accessibilityController.focusedElement.childAtIndex(0)
; |
| 25 | 25 |
| 26 document.getElementById("h3").focus(); | 26 document.getElementById("h3").focus(); |
| 27 shouldBe("accessibilityController.focusedElement.isEqual(editableDiv)",
"false"); | 27 shouldBe("accessibilityController.focusedElement.isEqual(editableDiv)",
"false"); |
| 28 } | 28 } |
| 29 | 29 |
| 30 </script> | 30 </script> |
| 31 | 31 |
| 32 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 33 </body> | 32 </body> |
| 34 </html> | 33 </html> |
| OLD | NEW |