Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / link-inside-label.html
blob730e4f9544fe49cbd31a8602aef3125cb5d95d19
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 </script>
8 </head>
9 <body>
11 <label>
12 Row 1
13 <input type="checkbox">
14 <a href="#" id="a1">More info</a>
15 <button>Do something</button>
16 </label>
18 <p id="description">This tests that a link element present inside a label element is accessible when label has more than one child.</p>
19 <div id="result"></div>
21 <script>
22 if (window.accessibilityController) {
23 var test = document.getElementById("a1");
24 test.focus();
25 test = accessibilityController.focusedElement;
26 result.innerText = "\nRole was:" + test.role;
28 </script>
30 </body>
31 </html>