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

Side by Side Diff: LayoutTests/accessibility/aria-describedby-on-input.html

Issue 1086753004: Switch LayoutTests to use renamed methods for deprecated text alternatives (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Re-add linux expectation Created 5 years, 6 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/aria-help.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <script> 2 <script>
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 </script> 5 </script>
6 <body> 6 <body>
7 <span id="message">This computer will self-destruct in</span> 7 <span id="message">This computer will self-destruct in</span>
8 <input id="time" type="text" value="10" aria-describedby="description"/> 8 <input id="time" type="text" value="10" aria-describedby="description"/>
9 <span id="unit"> minutes.</span> 9 <span id="unit"> minutes.</span>
10 <div id="description">Allows you to specify the number of minutes after whic h the computer will self-destruct.</div> 10 <div id="description">Allows you to specify the number of minutes after whic h the computer will self-destruct.</div>
11 <div id="result"></div> 11 <div id="result"></div>
12 12
13 <script> 13 <script>
14 if (window.accessibilityController) { 14 if (window.accessibilityController) {
15 var labeledItem = document.getElementById("time"); 15 var labeledItem = document.getElementById("time");
16 labeledItem.focus(); 16 labeledItem.focus();
17 var result = document.getElementById("result"); 17 var result = document.getElementById("result");
18 result.innerText = "\nThe accessibility description is \"" + accessi bilityController.focusedElement.helpText + "\""; 18 result.innerText = "\nThe accessibility description is \"" + accessi bilityController.focusedElement.deprecatedHelpText + "\"";
19 } 19 }
20 </script> 20 </script>
21 </body> 21 </body>
22 </html> 22 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/aria-help.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698