Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / aria-hidden-hides-all-elements.html
blob9202ddb6dd97de6390b08bfe00aa2f4e58b443b3
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body id="body">
8 <div id="content" role="group">
10 <main id="main" aria-hidden="true">
11 <video controls="controls"></video>
12 <select id="select"><option>a</select>
13 <input type="range">
14 <input type="data">
15 <progress></progress>
16 <ul><li>item</li></ul>
17 <select size="10"><option>a</select>
18 <img src="resources/cake.png" width="145" height="126" usemap="#map">
19 <map name="map">
20 <area shape="rect" coords="0,0,100,100" href="#" alt="cake">
21 </map>
22 </main>
24 </div>
26 <script>
28 description("This tests aria-hidden on a parent node will hide all these special subclass objects.");
30 if (window.accessibilityController) {
32 var content = accessibilityController.accessibleElementById("content");
33 shouldBe("content.childrenCount", "0");
35 // Clear the HTML for better results.
36 document.getElementById("content").innerHTML = "";
40 </script>
42 </body>
43 </html>