Skip to content

Commit

Permalink
add shared picker dfn
Browse files Browse the repository at this point in the history
  • Loading branch information
josepharhar committed Nov 26, 2024
1 parent 3bedf6e commit a9fcf78
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -48169,6 +48169,11 @@ interface <dfn interface>HTMLInputElement</dfn> : <span>HTMLElement</span> {
data-x="attr-input-type-checkbox">Checkbox</span> state) stop an <code>input</code> element from
being <i data-x="concept-fe-mutable">mutable</i>.</p>

<p>Some states of the <code data-x="attr-input-type">type</code> attribute <dfn
data-x="input-support-picker">support a picker</dfn>, which is a popup that allows the user to
choose a value. Which states <span data-x="input-support-picker">support a picker</span> is up to
the user agent.</p>

<p>The <span data-x="concept-node-clone-ext">cloning steps</span> for <code>input</code> elements
must propagate the <span data-x="concept-fe-value">value</span>, <span
data-x="concept-fe-dirty">dirty value flag</span>, <span
Expand Down Expand Up @@ -52636,8 +52641,10 @@ You cannot submit this form when the field is incorrect.</samp></pre>
<dt><code data-x=""><var>input</var>.<span subdfn data-x="dom-input-showPicker">showPicker</span>()</code></dt>

<dd>
<p>Shows any applicable picker UI for <var>input</var>, so that the user can select a value. (If
no picker UI is implemented for the given control, then this method does nothing.)</p>
<p>If <var>input</var> does not <span data-x="input-support-picker">support a picker</span>,
this method does nothing.</p>

<p>Shows any applicable picker UI for <var>input</var>, so that the user can select a value.</p>

<p>Throws an <span>"<code>InvalidStateError</code>"</span> <code>DOMException</code> if
<var>input</var> is not <span data-x="concept-fe-mutable">mutable</span>.</p>
Expand Down Expand Up @@ -74811,8 +74818,8 @@ Demos:
<li><p>A <code>select</code> element which is a <span>drop-down box</span> whose drop-down box
is open.</p></li>

<li><p>An <code>input</code> element which supports a picker popup and whose picker popup is
open.</p></li>
<li><p>An <code>input</code> element which <span data-x="input-support-picker">supports a
picker</span> popup and whose picker popup is open.</p></li>
</ol>
</dd>
</dl>
Expand Down

0 comments on commit a9fcf78

Please sign in to comment.