aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/checkboxradio
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2023-03-29 00:18:07 +0200
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2023-05-10 10:53:57 +0200
commit0977ea1b48355bfddc98cb16673ea8b627904dab (patch)
treef80a53db718d477331b43156c5ea7642464e5b77 /tests/unit/checkboxradio
parentf8990e68e2d3900e7bb16926cc2d86ae97a3f0fa (diff)
downloadjquery-ui-0977ea1b48355bfddc98cb16673ea8b627904dab.tar.gz
jquery-ui-0977ea1b48355bfddc98cb16673ea8b627904dab.zip
Demos:Tests: Avoid self-closing HTML tags
Self-closing tags are reported by newer versions of the htmllint Grunt plugin. They also don't make sense in our HTML files since they are not XHTML-compliant and they run in HTML mode anyway. Ref gh-2157
Diffstat (limited to 'tests/unit/checkboxradio')
-rw-r--r--tests/unit/checkboxradio/checkboxradio.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/unit/checkboxradio/checkboxradio.html b/tests/unit/checkboxradio/checkboxradio.html
index 62552fefc..536d4ec55 100644
--- a/tests/unit/checkboxradio/checkboxradio.html
+++ b/tests/unit/checkboxradio/checkboxradio.html
@@ -43,37 +43,37 @@
<input type="checkbox" id="check"><label for="check">Toggle</label>
<input type="checkbox" id="check2"><label for="check2">Checkbox</label>
<label for="checkbox-method-refresh" id="checkbox-method-refresh-label">checkbox refresh</label>
-<input type="checkbox" id="checkbox-method-refresh"/>
+<input type="checkbox" id="checkbox-method-refresh">
<label for="checkbox-method-destroy" class="bar" id="checkbox-method-destroy-label">checkbox refresh</label>
-<input type="checkbox" class="foo" id="checkbox-method-destroy"/>
+<input type="checkbox" class="foo" id="checkbox-method-destroy">
<label for="checkbox-method-disable">checkbox refresh</label>
-<input type="checkbox" class="foo" id="checkbox-method-disable"/>
+<input type="checkbox" class="foo" id="checkbox-method-disable">
<label for="radio-method-refresh" id="radio-method-refresh-label">radio refresh</label>
-<input type="radio" id="radio-method-refresh"/>
+<input type="radio" id="radio-method-refresh">
<label for="radio-method-destroy" class="bar" id="radio-method-destroy-label">radio refresh</label>
-<input type="radio" class="foo" id="radio-method-destroy"/>
+<input type="radio" class="foo" id="radio-method-destroy">
<label for="radio-method-disable">radio refresh</label>
-<input type="radio" class="foo" id="radio-method-disable"/>
+<input type="radio" class="foo" id="radio-method-disable">
<label for="checkbox-option-disabled">checkbox disabled</label>
-<input type="checkbox" class="foo" id="checkbox-option-disabled"/>
+<input type="checkbox" class="foo" id="checkbox-option-disabled">
<label for="checkbox-option-icon">checkbox icon</label>
-<input type="checkbox" class="foo" id="checkbox-option-icon"/>
-<label for="checkbox-option-label">checkbox label<input type="checkbox" class="foo" id="checkbox-option-label"/></label>
+<input type="checkbox" class="foo" id="checkbox-option-icon">
+<label for="checkbox-option-label">checkbox label<input type="checkbox" class="foo" id="checkbox-option-label"></label>
<label>
- <input type="checkbox" id="label-with-no-for"/>
+ <input type="checkbox" id="label-with-no-for">
</label>
<label>
- <input type="checkbox" id="label-with-no-for-with-html"/>
+ <input type="checkbox" id="label-with-no-for-with-html">
<strong>Hi</strong>, <em>I'm a label</em>
</label>
<label>
- <input type="checkbox" id="label-with-no-for-with-text"/>
+ <input type="checkbox" id="label-with-no-for-with-text">
Hi, I'm a label
</label>
<label>
- <input type="checkbox" id="label-with-no-for-with-html-like-text"/>
+ <input type="checkbox" id="label-with-no-for-with-html-like-text">
&lt;em&gt;Hi, I'm a label&lt;/em&gt;
</label>