Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit dcfb465

Browse files
apsdehalarschmitz
authored andcommitted
Kitchensink: html lint free tests
1 parent 765a542 commit dcfb465

File tree

1 file changed

+58
-58
lines changed

1 file changed

+58
-58
lines changed

tests/unit/kitchensink/index.html

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,17 @@ <h2>Form Elements in Fieldcontains</h2>
9494
<div data-nstest-role="fieldcontain">
9595
<fieldset data-nstest-role="controlgroup" data-nstest-theme="c">
9696
<legend>Choose a pet:</legend>
97-
<input type="radio" name="radio-choice-1" id="radio-choice-1" value="choice-1" checked="checked" />
98-
<label for="radio-choice-1">Cat</label>
97+
<input type="radio" name="radio-choice-1" id="radio-choice-1a" value="choice-1" checked="checked" />
98+
<label for="radio-choice-1a">Cat</label>
9999

100-
<input type="radio" name="radio-choice-1" id="radio-choice-2" value="choice-2" />
101-
<label for="radio-choice-2">Dog</label>
100+
<input type="radio" name="radio-choice-1" id="radio-choice-2a" value="choice-2" />
101+
<label for="radio-choice-2a">Dog</label>
102102

103-
<input type="radio" name="radio-choice-1" id="radio-choice-3" value="choice-3" />
104-
<label for="radio-choice-3">Hamster</label>
103+
<input type="radio" name="radio-choice-1" id="radio-choice-3a" value="choice-3" />
104+
<label for="radio-choice-3a">Hamster</label>
105105

106-
<input type="radio" name="radio-choice-1" id="radio-choice-4" value="choice-4" />
107-
<label for="radio-choice-4">Lizard</label>
106+
<input type="radio" name="radio-choice-1" id="radio-choice-4a" value="choice-4" />
107+
<label for="radio-choice-4a">Lizard</label>
108108
</fieldset>
109109
</div>
110110

@@ -163,65 +163,65 @@ <h2>Form Elements in Fieldcontains</h2>
163163

164164
<h2>Mini Form Elements</h2>
165165

166-
<label for="name">Text Input:</label>
167-
<input type="text" name="name" id="name" value="" data-nstest-mini="true" />
166+
<label for="nameA">Text Input:</label>
167+
<input type="text" name="name" id="nameA" value="" data-nstest-mini="true" />
168168

169-
<label for="textarea">Textarea:</label>
170-
<textarea cols="40" rows="8" name="textarea" id="textarea" data-nstest-mini="true"></textarea>
169+
<label for="textareaA">Textarea:</label>
170+
<textarea cols="40" rows="8" name="textarea" id="textareaA" data-nstest-mini="true"></textarea>
171171

172-
<label for="search">Search Input:</label>
173-
<input type="search" name="password" id="search" value="" data-nstest-mini="true" />
172+
<label for="searchA">Search Input:</label>
173+
<input type="search" name="password" id="searchA" value="" data-nstest-mini="true" />
174174

175-
<label for="slider2">Flip switch:</label>
176-
<select name="slider2" id="slider2" data-nstest-role="slider" data-nstest-mini="true">
175+
<label for="slider2a">Flip switch:</label>
176+
<select name="slider2" id="slider2a" data-nstest-role="slider" data-nstest-mini="true">
177177
<option value="off">Off</option>
178178
<option value="on">On</option>
179179
</select>
180180

181181
<div data-nstest-role="fieldcontain">
182-
<label for="slider">Slider:</label>
183-
<input type="range" name="slider" id="slider" value="50" min="0" max="100" data-nstest-highlight="true" data-nstest-mini="true" />
182+
<label for="sliderA">Slider:</label>
183+
<input type="range" name="slider" id="sliderA" value="50" min="0" max="100" data-nstest-highlight="true" data-nstest-mini="true" />
184184
</div>
185185

186186
<div data-nstest-role="fieldcontain">
187187
<fieldset data-nstest-role="controlgroup" data-nstest-mini="true">
188188
<!-- Mini set on controlgroup -->
189189

190190
<legend>Choose as many snacks as you'd like:</legend>
191-
<input type="checkbox" name="checkbox-1a" id="checkbox-1a" class="custom" />
192-
<label for="checkbox-1a">Cheetos</label>
191+
<input type="checkbox" name="checkbox-1a" id="checkbox-1b" class="custom" />
192+
<label for="checkbox-1b">Cheetos</label>
193193

194-
<input type="checkbox" name="checkbox-2a" id="checkbox-2a" class="custom" />
195-
<label for="checkbox-2a">Doritos</label>
194+
<input type="checkbox" name="checkbox-2a" id="checkbox-2b" class="custom" />
195+
<label for="checkbox-2b">Doritos</label>
196196

197-
<input type="checkbox" name="checkbox-3a" id="checkbox-3a" class="custom" />
198-
<label for="checkbox-3a">Fritos</label>
197+
<input type="checkbox" name="checkbox-3a" id="checkbox-3b" class="custom" />
198+
<label for="checkbox-3b">Fritos</label>
199199

200-
<input type="checkbox" name="checkbox-4a" id="checkbox-4a" class="custom" />
201-
<label for="checkbox-4a">Sun Chips</label>
200+
<input type="checkbox" name="checkbox-4a" id="checkbox-4b" class="custom" />
201+
<label for="checkbox-4b">Sun Chips</label>
202202
</fieldset>
203203
</div>
204204

205205
<div data-nstest-role="fieldcontain">
206206
<fieldset data-nstest-role="controlgroup" data-nstest-type="horizontal" data-nstest-mini="true">
207207

208208
<legend>Font styling:</legend>
209-
<input type="checkbox" name="checkbox-6" id="checkbox-6" class="custom" />
210-
<label for="checkbox-6">b</label>
209+
<input type="checkbox" name="checkbox-6" id="checkbox-6b" class="custom" />
210+
<label for="checkbox-6b">b</label>
211211

212-
<input type="checkbox" name="checkbox-7" id="checkbox-7" class="custom" />
213-
<label for="checkbox-7"><em>i</em></label>
212+
<input type="checkbox" name="checkbox-7" id="checkbox-7b" class="custom" />
213+
<label for="checkbox-7b"><em>i</em></label>
214214

215-
<input type="checkbox" name="checkbox-8" id="checkbox-8" class="custom" />
216-
<label for="checkbox-8">u</label>
215+
<input type="checkbox" name="checkbox-8" id="checkbox-8b" class="custom" />
216+
<label for="checkbox-8b">u</label>
217217
</fieldset>
218218
</div>
219219

220220
<div data-nstest-role="fieldcontain">
221-
<input type="checkbox" name="radio-gaga" id="radio-gaga" value="choice-1" data-nstest-mini="true" data-nstest-mini="true" />
221+
<input type="checkbox" name="radio-gaga" id="radio-gaga" value="choice-1" data-nstest-mini="true"/>
222222
<label for="radio-gaga">Unchecked by Default</label>
223223

224-
<input type="checkbox" name="radio-googoo" id="radio-googoo" value="choice-1" data-nstest-mini="true" checked="checked" data-nstest-mini="true" />
224+
<input type="checkbox" name="radio-googoo" id="radio-googoo" value="choice-1" data-nstest-mini="true" checked="checked"/>
225225
<label for="radio-googoo">Checked by Default</label>
226226
</div>
227227

@@ -230,35 +230,35 @@ <h2>Mini Form Elements</h2>
230230
<!-- Mini set on individual elements. -->
231231

232232
<legend>Choose a pet:</legend>
233-
<input type="radio" name="radio-choice-1" id="radio-choice-1" value="choice-1" checked="checked" />
234-
<label for="radio-choice-1">Cat</label>
233+
<input type="radio" name="radio-choice-1" id="radio-choice-1b" value="choice-1" checked="checked" />
234+
<label for="radio-choice-1b">Cat</label>
235235

236-
<input type="radio" name="radio-choice-1" id="radio-choice-2" value="choice-2" data-nstest-mini="true"/>
237-
<label for="radio-choice-2">Dog</label>
236+
<input type="radio" name="radio-choice-1" id="radio-choice-2b" value="choice-2" data-nstest-mini="true"/>
237+
<label for="radio-choice-2b">Dog</label>
238238

239-
<input type="radio" name="radio-choice-1" id="radio-choice-3" value="choice-3" />
240-
<label for="radio-choice-3">Hamster</label>
239+
<input type="radio" name="radio-choice-1" id="radio-choice-3b" value="choice-3" />
240+
<label for="radio-choice-3b">Hamster</label>
241241

242-
<input type="radio" name="radio-choice-1" id="radio-choice-4" value="choice-4" />
243-
<label for="radio-choice-4">Lizard</label>
242+
<input type="radio" name="radio-choice-1" id="radio-choice-4b" value="choice-4" />
243+
<label for="radio-choice-4b">Lizard</label>
244244
</fieldset>
245245
</div>
246246

247247
<div data-nstest-role="fieldcontain">
248248
<fieldset data-nstest-role="controlgroup" data-nstest-type="horizontal">
249249
<legend>Layout view:</legend>
250-
<input type="radio" name="radio-choice-b" id="radio-choice-c" value="on" checked="checked" />
251-
<label for="radio-choice-c">List</label>
252-
<input type="radio" name="radio-choice-b" id="radio-choice-d" value="off" />
253-
<label for="radio-choice-d">Grid</label>
254-
<input type="radio" name="radio-choice-b" id="radio-choice-e" value="other" />
255-
<label for="radio-choice-e">Gallery</label>
250+
<input type="radio" name="radio-choice-b" id="radio-choice-ca" value="on" checked="checked" />
251+
<label for="radio-choice-ca">List</label>
252+
<input type="radio" name="radio-choice-b" id="radio-choice-da" value="off" />
253+
<label for="radio-choice-da">Grid</label>
254+
<input type="radio" name="radio-choice-b" id="radio-choice-ea" value="other" />
255+
<label for="radio-choice-ea">Gallery</label>
256256
</fieldset>
257257
</div>
258258

259259
<div data-nstest-role="fieldcontain">
260-
<label for="select-choice-1" class="select">Choose shipping method:</label>
261-
<select name="select-choice-1" id="select-choice-1">
260+
<label for="select-choice-1a" class="select">Choose shipping method:</label>
261+
<select name="select-choice-1" id="select-choice-1a">
262262
<option value="standard">Standard: 7 day</option>
263263
<option value="rush">Rush: 3 days</option>
264264
<option value="express">Express: next day</option>
@@ -267,8 +267,8 @@ <h2>Mini Form Elements</h2>
267267
</div>
268268

269269
<div data-nstest-role="fieldcontain">
270-
<label for="select-choice-3" class="select">Your state:</label>
271-
<select name="select-choice-3" id="select-choice-3">
270+
<label for="select-choice-3a" class="select">Your state:</label>
271+
<select name="select-choice-3" id="select-choice-3a">
272272
<option value="AL">Alabama</option>
273273
<option value="AK">Alaska</option>
274274
<option value="AZ">Arizona</option>
@@ -278,8 +278,8 @@ <h2>Mini Form Elements</h2>
278278
</div>
279279

280280
<div data-nstest-role="fieldcontain">
281-
<label for="select-choice-a" class="select">Choose shipping method:</label>
282-
<select name="select-choice-a" id="select-choice-a" data-nstest-native-menu="false">
281+
<label for="select-choice-aa" class="select">Choose shipping method:</label>
282+
<select name="select-choice-a" id="select-choice-aa" data-nstest-native-menu="false">
283283
<option>Custom menu example</option>
284284
<option value="standard">Standard: 7 day</option>
285285
<option value="rush">Rush: 3 days</option>
@@ -288,7 +288,7 @@ <h2>Mini Form Elements</h2>
288288
</select>
289289
</div>
290290

291-
<div data-nstest-role="toolbar" data-nstest-type="footer" id="control-group-footer" class="ui-bar" data-nstest-position="inline">
291+
<div data-nstest-role="toolbar" data-nstest-type="footer" id="control-group-footer-2" class="ui-bar" data-nstest-position="inline">
292292
<div data-nstest-role="controlgroup" data-nstest-type="horizontal">
293293
<a href="index.html" data-nstest-icon="delete">Remove</a>
294294
<a href="index.html" data-nstest-icon="plus">Add</a>
@@ -367,19 +367,19 @@ <h2>Thumbnail, split button list</h2>
367367

368368
<ul data-nstest-role="listview">
369369
<li><a href="index.html">
370-
<img src="../../../demos/_assets/img/album-bb.jpg" />
370+
<img src="../../../demos/_assets/img/album-bb.jpg" alt="Album BB"/>
371371
<h3>Broken Bells</h3>
372372
<p>Broken Bells</p>
373373
</a><a href="lists-split-purchase.html" data-nstest-rel="dialog" data-nstest-transition="slideup">Purchase album
374374
</a></li>
375375
<li><a href="index.html">
376-
<img src="../../../demos/_assets/img/album-hc.jpg" />
376+
<img src="../../../demos/_assets/img/album-hc.jpg" alt="Album HC"/>
377377
<h3>Warning</h3>
378378
<p>Hot Chip</p>
379379
</a><a href="lists-split-purchase.html" data-nstest-rel="dialog" data-nstest-transition="slideup">Purchase album
380380
</a></li>
381381
<li><a href="index.html">
382-
<img src="../../../demos/_assets/img/album-p.jpg" />
382+
<img src="../../../demos/_assets/img/album-p.jpg" alt="Album P"/>
383383
<h3>Wolfgang Amadeus Phoenix</h3>
384384
<p>Phoenix</p>
385385
</a><a href="lists-split-purchase.html" data-nstest-rel="dialog" data-nstest-transition="slideup">Purchase album

0 commit comments

Comments
 (0)