Skip to content

Commit 0341b31

Browse files
authored
Update HTMLSelectElement (mdn#3998)
- fix flaws, removing {{gecko_minversion_inline}} macros - remove an instruction for BCD
1 parent e793205 commit 0341b31

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

files/en-us/web/api/htmlselectelement/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h2 id="Properties">Properties</h2>
2020

2121
<dl>
2222
<dt>{{domxref("HTMLSelectElement.autofocus")}}</dt>
23-
<dd>A {{jsxref("Boolean")}} reflecting the {{htmlattrxref("autofocus", "select")}} HTML attribute, which indicates whether the control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified. {{gecko_minversion_inline("2.0")}}</dd>
23+
<dd>A {{jsxref("Boolean")}} reflecting the {{htmlattrxref("autofocus", "select")}} HTML attribute, which indicates whether the control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified. </dd>
2424
<dt>{{domxref("HTMLSelectElement.disabled")}}</dt>
2525
<dd>A {{jsxref("Boolean")}} reflecting the {{htmlattrxref("disabled", "select")}} HTML attribute, which indicates whether the control is disabled. If it is disabled, it does not accept clicks.</dd>
2626
<dt>{{domxref("HTMLSelectElement.form")}}{{ReadOnlyInline}}</dt>
@@ -36,7 +36,7 @@ <h2 id="Properties">Properties</h2>
3636
<dt>{{domxref("HTMLSelectElement.options")}}{{ReadOnlyInline}}</dt>
3737
<dd>An {{domxref("HTMLOptionsCollection")}} representing the set of {{HTMLElement("option")}} ({{domxref("HTMLOptionElement")}}) elements contained by this element.</dd>
3838
<dt>{{domxref("HTMLSelectElement.required")}}</dt>
39-
<dd>A {{jsxref("Boolean")}} reflecting the {{htmlattrxref("required", "select")}} HTML attribute, which indicates whether the user is required to select a value before submitting the form. {{gecko_minversion_inline("2.0")}}</dd>
39+
<dd>A {{jsxref("Boolean")}} reflecting the {{htmlattrxref("required", "select")}} HTML attribute, which indicates whether the user is required to select a value before submitting the form. </dd>
4040
<dt>{{domxref("HTMLSelectElement.selectedIndex")}}</dt>
4141
<dd>A <code>long</code> reflecting the index of the first selected {{HTMLElement("option")}} element. The value <code>-1</code> indicates no element is selected.</dd>
4242
<dt>{{domxref("HTMLSelectElement.selectedOptions")}}{{ReadOnlyInline}}</dt>
@@ -152,8 +152,6 @@ <h2 id="Specifications">Specifications</h2>
152152

153153
<h2 id="Browser_compatibility">Browser compatibility</h2>
154154

155-
<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>
156-
157155
<p>{{Compat("api.HTMLSelectElement")}}</p>
158156

159157
<h2 id="See_also">See also</h2>

0 commit comments

Comments
 (0)