Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / css-table-ignored.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 <style>
6 .layout-table { display:table; }
7 .layout-table .second-cell, .layout-table .third-cell, .layout-table .third-cell-no-border { display: table-cell; }
8 .layout-table .third-cell { border-left: 5px solid #f00; }
9 </style>
10 </head>
11
12 <body id="body">
13
14 <div id="content">
15 <div class="layout-table" id="table">
16     <div class="first-cell a11y">Visually hidden div</div>
17     <div class="second-cell">Left div</div>
18     <div class="third-cell">Right div</div>
19 </div>
20 </div>
21
22 <p id="description"></p>
23 <div id="console"></div>
24
25 <script>
26 description("This tests that an element use display:table will not be exposed as an accessible table.");
27
28 if (window.accessibilityController) {
29     var table = accessibilityController.accessibleElementById("table");
30     shouldBeTrue("!table || !table.isValid");
31     document.getElementById("content").style.visibility = "hidden";
32 }
33
34 </script>
35 <script src="../resources/js-test-post.js"></script>
36 </body>
37 </html>