Skip to content

Commit 4b13e5f

Browse files
authored
Export terms 'list box' and 'drop-down box' for <select>
These terms are needed for specifying the 'appearance' property.
1 parent 05a0497 commit 4b13e5f

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

source

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114006,28 +114006,32 @@ details[open] > summary {
114006114006

114007114007
<h4>The <code>select</code> element</h4>
114008114008

114009+
<p>A <code>select</code> element is either a <dfn data-export="" data-dfn-for="select">list
114010+
box</dfn> or a <dfn data-export="" data-dfn-for="select">drop-down box</dfn>, depending on its
114011+
attributes.</p>
114012+
114009114013
<p>A <code>select</code> element whose <code data-x="attr-select-multiple">multiple</code>
114010-
attribute is present is expected to render as a multi-select list box.</p>
114014+
attribute is present is expected to render as a multi-select <span>list box</span>.</p>
114011114015

114012114016
<p>A <code>select</code> element whose <code data-x="attr-select-multiple">multiple</code>
114013114017
attribute is absent, and whose <span data-x="concept-select-size">display size</span> is greater
114014-
than 1, is expected to render as a single-select list box.</p>
114018+
than 1, is expected to render as a single-select <span>list box</span>.</p>
114015114019

114016-
<p>When the element renders as a list box, it is expected to render as an
114020+
<p>When the element renders as a <span>list box</span>, it is expected to render as an
114017114021
<span>'inline-block'</span> box whose <span>'height'</span> is the height necessary to contain as
114018114022
many rows for items as given by the element's <span data-x="concept-select-size">display
114019114023
size</span>, or four rows if the attribute is absent, and whose <span>'width'</span> is the
114020114024
<span>width of the <code>select</code>'s labels</span> plus the width of a scrollbar.</p>
114021114025

114022114026
<p>A <code>select</code> element whose <code data-x="attr-select-multiple">multiple</code>
114023114027
attribute is absent, and whose <span data-x="concept-select-size">display size</span> is 1, is
114024-
expected to render as a one-line drop down box whose width is the <span>width of the
114028+
expected to render as a one-line <span>drop-down box</span> whose width is the <span>width of the
114025114029
<code>select</code>'s labels</span>.</p>
114026114030

114027-
<p>In either case (list box or drop-down box), the element's items are expected to be the
114028-
element's <span data-x="concept-select-option-list">list of options</span>, with the element's
114029-
<code>optgroup</code> element <span data-x="concept-tree-child">children</span> providing headers
114030-
for groups of options where applicable.</p>
114031+
<p>In either case (<span>list box</span> or <span>drop-down box</span>), the element's items are
114032+
expected to be the element's <span data-x="concept-select-option-list">list of options</span>,
114033+
with the element's <code>optgroup</code> element <span data-x="concept-tree-child">children</span>
114034+
providing headers for groups of options where applicable.</p>
114031114035

114032114036
<p>An <code>optgroup</code> element is expected to be rendered by displaying the element's <code
114033114037
data-x="attr-optgroup-label">label</code> attribute.</p>

0 commit comments

Comments
 (0)