OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script src="../resources/js-test.js"></script> | 4 <script src="../resources/js-test.js"></script> |
5 | 5 |
6 <button id="untitled"></button> | 6 <button id="untitled"></button> |
7 | 7 |
8 <div id="spin" | 8 <div id="spin" |
9 tabindex="0" | 9 tabindex="0" |
10 role="spinbutton" | 10 role="spinbutton" |
(...skipping 23 matching lines...) Expand all Loading... |
34 window.axSpin = accessibilityController.focusedElement; | 34 window.axSpin = accessibilityController.focusedElement; |
35 | 35 |
36 // Test range value attributes. | 36 // Test range value attributes. |
37 shouldBe("endsWith(axSpin.intValue, '5')", "true"); | 37 shouldBe("endsWith(axSpin.intValue, '5')", "true"); |
38 shouldBe("endsWith(axSpin.minValue, '1')", "true"); | 38 shouldBe("endsWith(axSpin.minValue, '1')", "true"); |
39 shouldBe("endsWith(axSpin.maxValue, '9')", "true"); | 39 shouldBe("endsWith(axSpin.maxValue, '9')", "true"); |
40 shouldBe("endsWith(axSpin.valueDescription, '5 of 9')", "true"); | 40 shouldBe("endsWith(axSpin.valueDescription, '5 of 9')", "true"); |
41 | 41 |
42 // Make sure the title doesn't come from the inner text. It should just be e
mpty if | 42 // Make sure the title doesn't come from the inner text. It should just be e
mpty if |
43 // not otherwise specified. | 43 // not otherwise specified. |
44 shouldBe("axSpin.deprecatedTitle", "axUntitled.deprecatedTitle"); | 44 shouldBe("axSpin.name", "axUntitled.name"); |
45 } | 45 } |
46 | 46 |
47 </script> | 47 </script> |
48 | 48 |
49 </body> | 49 </body> |
50 </html> | 50 </html> |
OLD | NEW |