OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE HTML> |
| 2 <head> |
| 3 <title>Test meter min max value attributes</title> |
| 4 <script src="../resources/js-test.js"></script> |
| 5 </head> |
| 6 <body> |
| 7 |
| 8 <meter id="meter1" value="5" min="0" max="10">5 out of 10</meter> |
| 9 |
| 10 <script> |
| 11 if (window.testRunner) |
| 12 testRunner.dumpAsText(); |
| 13 |
| 14 description("This tests that meter element attributes min, max, value are expose
d to accessibility module"); |
| 15 |
| 16 if (window.accessibilityController) { |
| 17 window.axMeter1 = window.accessibilityController.accessibleElementById("mete
r1"); |
| 18 |
| 19 shouldBe("axMeter1.minValue", "0"); |
| 20 shouldBe("axMeter1.maxValue", "10"); |
| 21 shouldBe("axMeter1.intValue", "5"); |
| 22 } |
| 23 </script> |
| 24 </body> |
OLD | NEW |