5 <meta charset="UTF-8" />
6 <title>jQuery Mobile Controlgroup Test Suite</title>
8 <script src="../../../external/requirejs/require.js"></script>
9 <script src="../../../js/jquery.tag.inserter.js"></script>
10 <script src="../jquery.setNameSpace.js"></script>
11 <script src="../../../tests/jquery.testHelper.js"></script>
12 <script src="../../../external/qunit.js"></script>
14 $.testHelper.asyncLoad([
16 "jquery.mobile.forms.checkboxradio",
17 "jquery.mobile.controlGroup"
19 [ "jquery.mobile.init" ],
21 "controlgroup_core.js"
26 <link rel="stylesheet" href="../../../css/themes/default/jquery.mobile.css"/>
27 <link rel="stylesheet" href="../../../external/qunit.css"/>
29 <script src="../swarminject.js"></script>
33 <h1 id="qunit-header">jQuery Mobile Controlgroup Test Suite</h1>
34 <h2 id="qunit-banner"></h2>
35 <h2 id="qunit-userAgent"></h2>
39 <div data-nstest-role="page">
40 <div data-nstest-role="content">
42 <div data-nstest-role="fieldcontain" id="radio-active-btn-test">
43 <fieldset data-nstest-role="controlgroup" id="vertical-controlgroup">
44 <legend>Choose a pet:</legend>
45 <input type="radio" name="radio-pet-active-btn" id="radio-pet-1" value="choice-1" checked="checked" />
46 <label for="radio-pet-1">Cat</label>
48 <input type="radio" name="radio-pet-active-btn" id="radio-pet-2" value="choice-2" />
49 <label for="radio-pet-2">Dog</label>
51 <input type="radio" name="radio-pet-active-btn" id="radio-pet-3" value="choice-3" />
52 <label for="radio-pet-3">Hamster</label>
54 <input type="radio" name="radio-pet-active-btn" id="radio-pet-4" value="choice-4" />
55 <label for="radio-pet-4">Lizard</label>
59 <div data-nstest-role="fieldcontain">
60 <fieldset data-nstest-role="controlgroup" data-nstest-type="horizontal" id="horizontal-controlgroup">
61 <legend>Font styling:</legend>
62 <input type="checkbox" name="checkbox-6" id="checkbox-6" class="custom" />
63 <label for="checkbox-6">b</label>
65 <input type="checkbox" name="checkbox-7" id="checkbox-7" class="custom" />
66 <label for="checkbox-7"><em>i</em></label>
68 <input type="checkbox" name="checkbox-8" id="checkbox-8" class="custom" />
69 <label for="checkbox-8"><em>s</em></label>
71 <input type="checkbox" name="checkbox-9" id="checkbox-9" class="custom" />
72 <label for="checkbox-9">u</label>
79 <div data-nstest-enhance="false" data-nstest-role="fieldcontain" id="unenhanced-fieldcontain">
80 <fieldset data-nstest-type="horizontal" id="unenhanced-fieldset" data-nstest-role="controlgroup">
81 <input type="checkbox" name="checkbox-10" id="checkbox-10" class="custom" />
82 <label for="checkbox-10">b</label>
84 <input type="checkbox" name="checkbox-11" id="checkbox-11" class="custom" />
85 <label for="checkbox-11"><em>i</em></label>
89 <div data-nstest-role="fieldcontain" id="enhanced-fieldcontain">
90 <fieldset data-nstest-type="horizontal" id="enhanced-fieldset" data-nstest-role="controlgroup">
91 <input type="checkbox" name="checkbox-12" id="checkbox-12" class="custom" />
92 <label for="checkbox-12">b</label>
94 <input type="checkbox" name="checkbox-13" id="checkbox-13" class="custom" />
95 <label for="checkbox-13"><em>i</em></label>
99 <div data-nstest-role="fieldcontain" id="enhancetest">
100 <fieldset data-nstest-role="controlgroup">