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="../resources/js-test.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 |
11 return the corresponding checkbox control, because this text is only a label. | 11 return the corresponding checkbox control, because this text is only a label. |
12 This is a lot of repeated text that when a hit test is performed, will | 12 This is a lot of repeated text that when a hit test is performed, will |
13 return the corresponding checkbox control, because this text is only a label. | 13 return the corresponding checkbox control, because this text is only a label. |
14 This is a lot of repeated text that when a hit test is performed, will | 14 This is a lot of repeated text that when a hit test is performed, will |
(...skipping 16 matching lines...) Expand all Loading... |
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 </body> | 39 </body> |
40 </html> | 40 </html> |
OLD | NEW |