Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / label / labels-parent-and-sibling-labels.html
blobe141ed15f562d408249d893afa3c0ef63ada5d93
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 <script src="../resources/common.js"></script>
6 <script src="../resources/label-test-util.js"></script>
7 </head>
8 <body>
9 <p id="description"></p>
10 <div id="console"></div>
11 <script>
12 description('Test that the labels list of a form control contains both parent label and sibling label.');
14 var tester = setupLabelsTest(withParentLabel | withSiblingLabel);
15 for (var name in tester.dataSet) {
16 var data = tester.getLabelableElementData(name);
17 if (data == null)
18 continue;
20 debug('Check ' + data.name);
21 var element = data.element;
22 shouldBe('element.labels.length', '2');
24 </script>
25 </body>
26 </html>