| 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 <input type="checkbox" id="item"><label for="item"> | 7 <input type="checkbox" id="item"><label for="item"> |
| 8 This is a lot of repeated text that when a hit test is performed, will | 8 This is a lot of repeated text that when a hit test is performed, will |
| 9 return the corresponding checkbox control, because this text is only a label. | 9 return the corresponding checkbox control, because this text is only a label. |
| 10 This is a lot of repeated text that when a hit test is performed, will | 10 This is a lot of repeated text that when a hit test is performed, will |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 var body = document.getElementById("body"); | 29 var body = document.getElementById("body"); |
| 30 body.focus(); | 30 body.focus(); |
| 31 | 31 |
| 32 var control = accessibilityController.focusedElement.elementAtPoint(30
, 100); | 32 var control = accessibilityController.focusedElement.elementAtPoint(30
, 100); |
| 33 | 33 |
| 34 shouldBe("control.role", "'AXRole: AXCheckBox'"); | 34 shouldBe("control.role", "'AXRole: AXCheckBox'"); |
| 35 } | 35 } |
| 36 | 36 |
| 37 </script> | 37 </script> |
| 38 | 38 |
| 39 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 40 </body> | 39 </body> |
| 41 </html> | 40 </html> |
| OLD | NEW |