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

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

Issue 832763002: Expose attributes max, min, value for meter html tag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months 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
« no previous file with comments | « no previous file | LayoutTests/accessibility/meter-value-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/meter-value-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698