Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / main-element.html
blob7e43daaa15c7377dd675d52a90081c96cbfdab2f
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 <main id="main">main</main>
10 <p id="description"></p>
11 <div id="console"></div>
13 <script>
15 description("This tests that the HTML5 main element correctly maps to AXMain.");
17 if (window.accessibilityController) {
19 document.getElementById("body").focus();
20 var body = accessibilityController.focusedElement;
21 var main = accessibilityController.accessibleElementById("main");
22 shouldBe("main.role", "'AXRole: AXMain'");
26 </script>
28 </body>
29 </html>