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

Side by Side Diff: LayoutTests/accessibility/th-as-title-ui.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
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 id="body"> 6 <body id="body">
7 7
8 <!-- the AXGroup that comes from the <td> should have the <th> as its title ui element 8 <!-- the AXGroup that comes from the <td> should have the <th> as its title ui element
9 In the 2nd case, it should not have a title ui element --> 9 In the 2nd case, it should not have a title ui element -->
10 10
(...skipping 14 matching lines...) Expand all
25 <div id="result"></div> 25 <div id="result"></div>
26 26
27 <script> 27 <script>
28 if (window.accessibilityController) { 28 if (window.accessibilityController) {
29 var result = document.getElementById("result"); 29 var result = document.getElementById("result");
30 30
31 var body = document.getElementById("body"); 31 var body = document.getElementById("body");
32 body.focus(); 32 body.focus();
33 var group = accessibilityController.focusedElement.childAtIndex(1); 33 var group = accessibilityController.focusedElement.childAtIndex(1);
34 var group2 = accessibilityController.focusedElement.childAtIndex(3); 34 var group2 = accessibilityController.focusedElement.childAtIndex(3);
35 if (group.titleUIElement().allAttributes() != "" && (group2.titleUIE lement() == null || group2.titleUIElement().allAttributes() == "")) 35 if (group.deprecatedTitleUIElement().allAttributes() != "" && (group 2.deprecatedTitleUIElement() == null || group2.deprecatedTitleUIElement().allAtt ributes() == ""))
36 result.innerText += "Pass"; 36 result.innerText += "Pass";
37 else 37 else
38 result.innerText += "Fail"; 38 result.innerText += "Fail";
39 } 39 }
40 </script> 40 </script>
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/svg-image-expected.txt ('k') | LayoutTests/accessibility/title-ui-element-correctness.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698