Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / non-data-table-cell-title-ui-element.html
blob1fdc9a9a72a39b3763c876d4262a280e98e2a097
1 <html>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6 <body id="body">
8 <!-- This test makes sure that tables that are not exposed as tables do not have title ui elements incorrectly set -->
10 <TABLE>
11 <tbody><tr><td colspan="6"><h2>ATS</h2></td></tr>
12 <tr>
13 <th>pass</th>
14 <th>issue</th>
15 <th>fail</th>
16 <th>blocked</th>
17 <th>skip</th>
18 <th>test</th>
19 </tr>
20 </tbody>
21 </tABLE>
23 <div id="result"></div>
26 <script>
27 if (window.accessibilityController) {
28 var result = document.getElementById("result");
30 var pass = document.getElementById("body");
31 body.focus();
32 // get the <th>skip</th> element
33 var group = accessibilityController.focusedElement.childAtIndex(5);
34 var titleUI = group.deprecatedTitleUIElement();
35 var allAttributes = "";
36 if (titleUI)
37 allAttributes = titleUI.allAttributes();
39 // verify it has no title ui element
40 if (!allAttributes) {
41 result.innerText += "Test passed\n";
43 else {
44 result.innerText += "Test failed\n";
47 </script>
48 </body>
49 </html>