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

Side by Side Diff: LayoutTests/accessibility/aria-controls-with-tabs.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script> 4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body id="body"> 6 <body id="body">
7 7
8 <ul id="tablist_1" role="tablist"> 8 <ul id="tablist_1" role="tablist">
9 <li id="tab_1" role="tab" tabindex="-1" class="">Crust</li> 9 <li id="tab_1" role="tab" tabindex="-1" class="">Crust</li>
10 <li id="tab_2" role="tab" tabindex="-1" aria-controls="panel_2" class="">Veges</ li> 10 <li id="tab_2" role="tab" tabindex="-1" aria-controls="panel_2" class="">Veges</ li>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 shouldBe("tab1.isSelected", "false"); 46 shouldBe("tab1.isSelected", "false");
47 shouldBe("tab2.isSelected", "false"); 47 shouldBe("tab2.isSelected", "false");
48 48
49 // Now we set aria-selected to be true on tab1 so that it should becom e selected 49 // Now we set aria-selected to be true on tab1 so that it should becom e selected
50 document.getElementById("tab_1").setAttribute("aria-selected", "true") ; 50 document.getElementById("tab_1").setAttribute("aria-selected", "true") ;
51 shouldBe("tab1.isSelected", "true"); 51 shouldBe("tab1.isSelected", "true");
52 } 52 }
53 53
54 </script> 54 </script>
55 55
56 <script src="../fast/js/resources/js-test-post.js"></script>
57 </body> 56 </body>
58 </html> 57 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/aria-checkbox-sends-notification.html ('k') | LayoutTests/accessibility/aria-disabled.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698