diff --git a/source b/source index 9eb28e333a5..c8caba5038e 100644 --- a/source +++ b/source @@ -48199,11 +48199,12 @@ interface HTMLInputElement : HTMLElement { being mutable.
The input
element can support a picker. A
- picker is a popup that allows the end user to choose a value. Whether an input
- element supports a picker depends on the type
attribute
- state and implementation-defined behavior. An input
element must support
- a picker when its type
attribute is in the File Upload state.
input
element supports a picker depends on the type
attribute state and implementation-defined
+ behavior. An input
element must support a picker when its type
attribute is in the File
+ Upload state.
As of the time of this writing, typical browser implementations show such picker UI for:
@@ -48220,16 +48221,10 @@ interface HTMLInputElement : HTMLElement { data-x="concept-input-list">suggestions source element;input
elements whose type
attribute
- is in the File Upload state (although those are
- handled via the special case above, instead of by this step); and
select
elements.
However, the intent of this step is to trigger any picker UI implementation. So - for example, if a user agent implemented a password picker UI for the Password state, then this method would be expected to - show that picker UI when called on a password input.
The cloning steps for input
elements
@@ -52861,11 +52856,11 @@ You cannot submit this form when the field is incorrect.
input.showPicker()
Shows any applicable picker UI for input, so that the user can select a value.
+If input does not support a picker, this method does nothing.
-Shows any applicable picker UI for input, so that the user can select a value.
-Throws an "InvalidStateError
" DOMException
if
input is not mutable.
:open
An Element
matches the :open
- pseudo-class if it matches one of the following:
The :open
pseudo-class must any
+ Element
falling into one of the following categories:
A details
element which has the open
attribute.
An input
element which supports a
picker and whose picker is open.