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

Side by Side Diff: LayoutTests/accessibility/iframe-bastardization.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well 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
(Empty)
1 <head>
2 <script src="../fast/js/resources/js-test-pre.js"></script>
3 </head>
4 <body id="body">
5
6 <iframe id='iframe1' scrolling=YES width=100 height=100 border=1 src='resou rces/cake.png'></iframe>
7
8 <p id="description"></p>
9 <div id="console"></div>
10
11 <script>
12
13 description("This test makes sure that the AX parent chain hierarchy with if rames is correct");
14
15 if (window.accessibilityController) {
16
17 var body = document.getElementById("body");
18 body.focus();
19 var webArea = accessibilityController.focusedElement;
20
21 var group1 = webArea.childAtIndex(0);
22 var iframeScrollArea = group1.childAtIndex(0);
23 var iframeWebArea = iframeScrollArea.childAtIndex(0);
24
25 var parentIframeWebArea = iframeWebArea.parentElement();
26 var parentIframeScrollArea = parentIframeWebArea.parentElement();
27 var parentGroup1 = parentIframeScrollArea.parentElement();
28
29 shouldBe("parentIframeWebArea.isEqual(iframeScrollArea)", "true");
30 shouldBe("parentIframeScrollArea.isEqual(group1)", "true");
31 shouldBe("parentGroup1.isEqual(webArea)", "true");
32 }
33
34 </script>
35
36 <script src="../fast/js/resources/js-test-post.js"></script>
37 </body>
38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698