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

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/spinbutton-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 <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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698