Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/meter-value.html

Issue 1417213006: Switch all LayoutTests to use new AX name calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix canvas-fallback-content-labels-expected.txt Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <head> 2 <head>
3 <title>Test meter min max value attributes</title> 3 <title>Test meter min max value attributes</title>
4 <script src="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 7
8 <meter id="meter1" value="5" min="0" max="10">5 out of 10</meter> 8 <meter id="meter1" value="5" min="0" max="10">5 out of 10</meter>
9 9
10 <script> 10 <script>
11 if (window.testRunner) 11 if (window.testRunner)
12 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
13 13
14 description("This tests that meter element attributes min, max, value are expose d to accessibility module"); 14 description("This tests that meter element attributes min, max, value are expose d to accessibility module");
15 15
16 if (window.accessibilityController) { 16 if (window.accessibilityController) {
17 window.axMeter1 = window.accessibilityController.accessibleElementById("mete r1"); 17 window.axMeter1 = window.accessibilityController.accessibleElementById("mete r1");
18 18
19 shouldBe("axMeter1.minValue", "0"); 19 shouldBe("axMeter1.minValue", "0");
20 shouldBe("axMeter1.maxValue", "10"); 20 shouldBe("axMeter1.maxValue", "10");
21 shouldBe("axMeter1.intValue", "5"); 21 shouldBe("axMeter1.intValue", "5");
22 } 22 }
23 </script> 23 </script>
24 </body> 24 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698