From 842c489e83744fda2df403d6208149c9cc3a3824 Mon Sep 17 00:00:00 2001
From: Joey Arhar The The
+
+ To determine if an If element is a Return true if element has the If element is a Return false. The
+
+ To determine if an If element is a Return false if element has the If element is a Return false. This specification does not define when an element matches the If element is a If element is a Return false. If element is a If element is a Return false. The
-
- To determine if an An If element is a A Return true if element has the If element is a A Return false. A The
+ An To determine if an An If element is a Return false if element has the A If element is a A Return false. A A An A A A An An An A A A An This specification does not define when an element matches the Some states of the The cloning steps for Shows any applicable picker UI for input, so that the user can select a value. (If
- no picker UI is implemented for the given control, then this method does nothing.) 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 " A An An Otherwise, the user agent should show any relevant user interface for selecting a value for
element, in the way it normally would when the user interacts with the control. (If
- no such UI applies to element, then this step does nothing.) If such a user interface is shown, it must respect the requirements stated in the relevant
parts of the specification for how element behaves given its Some states of the The The cloning steps for An :volume-locked
pseudo-class
must match all media elements when the user agent's
volume locked is true.:open
:open
pseudo-class must match any
+ element that matches the open selector.Element
element matches the open
+ selector:
+
+ details
or dialog
element:
+
+ open
+ attribute, otherwise false.select
element and element is being
+ rendered as a button with a popup and the popup is open, then return true.:closed
:closed
pseudo-class must match any
+ element that matches the closed selector.Element
element matches the closed
+ selector:
+
+ details
or dialog
element:
+
+ open
+ attribute, otherwise true.select
element and element is being
+ rendered as a button with a popup and the popup is closed, then return true.
Date: Fri, 9 Feb 2024 11:57:09 -0800
Subject: [PATCH 02/14] use drop-down box
---
source | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/source b/source
index fb119a709be..a19edf1dc81 100644
--- a/source
+++ b/source
@@ -74251,8 +74251,8 @@ Demos:
-
select
element and element is being
- rendered as a button with a popup and the popup is open, then return true.select
element and element is a
+ drop-down box and the drop-down is open, then return true.select
element and element is being
- rendered as a button with a popup and the popup is closed, then return true.select
element and element is a
+ drop-down box and the drop-down is closed, then return true.:open
:open
pseudo-class must match any
- element that matches the open selector.Element
element matches the open
- selector:Element
matches the :open
+ pseudo-class if it matches one of the following:
-
details
or dialog
element:details
element which has the open
attribute.
-
-
-
- open
- attribute, otherwise false.select
element and element is a
- drop-down box and the drop-down is open, then return true.dialog
element which has the open
+ attribute.select
element which is a drop-down box whose drop-down box
+ is open.:closed
:closed
pseudo-class must match any
- element that matches the closed selector.Element
matches the :closed
+ pseudo-class if it matches one of the following:Element
element matches the closed
- selector:Element
element matches the closed selector that matches
+ one of the following:
-
details
or dialog
element:
-
- open
- attribute, otherwise true.details
element which does not have the open
attribute.select
element and element is a
- drop-down box and the drop-down is closed, then return true.dialog
element which does not have the open
attribute.select
element which is a drop-down box whose drop-down box
+ is closed.select
element which is a drop-down box whose drop-down box
is open.input
element which supports a picker popup and whose picker popup is
+ open.dialog
element which does not have the open
attribute.select
element which is a drop-down box whose drop-down box
+ select
element which is not a drop-down box or whose
+ drop-down box is closed.input
element which doesn't support a picker popup or whose picker popup
is closed.:closed
Element
matches the :closed
- pseudo-class if it matches one of the following:Element
element matches the closed selector that matches
- one of the following:
-
- details
element which does not have the open
attribute.dialog
element which does not have the open
attribute.select
element which is not a drop-down box or whose
- drop-down box is closed.input
element which doesn't support a picker popup or whose picker popup
- is closed.
Date: Tue, 26 Nov 2024 12:39:32 -0800
Subject: [PATCH 06/14] add shared picker dfn
---
source | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/source b/source
index 356f98cea52..91fded64843 100644
--- a/source
+++ b/source
@@ -48169,6 +48169,11 @@ interface HTMLInputElement : HTMLElement {
data-x="attr-input-type-checkbox">Checkbox state) stop an
input
element from
being mutable.type
attribute support a picker, which is a popup that allows the user to
+ choose a value. Which states support a picker is up to
+ the user agent.input
elements
must propagate the value, dirty value flag,
input.showPicker()
InvalidStateError
" DOMException
if
input is not mutable.select
element which is a drop-down box whose drop-down box
is open.input
element which supports a picker popup and whose picker popup is
- open.input
element which supports a
+ picker popup and whose picker popup is open.
Date: Wed, 4 Dec 2024 11:23:37 -0800
Subject: [PATCH 08/14] resolve comments
---
source | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/source b/source
index 480e1081081..7148e326278 100644
--- a/source
+++ b/source
@@ -48169,10 +48169,12 @@ interface HTMLInputElement : HTMLElement {
data-x="attr-input-type-checkbox">Checkbox state) stop an
input
element from
being mutable.type
attribute support a picker, which is a popup that allows the user to
- choose a value. Which states support a picker is up to
- the user agent.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
elements
must propagate the value,
input
element which supports a
- picker popup and whose picker popup is open.input
element from
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.
The cloning steps for The input
elements
must propagate the value, dirty value flag,
+ 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 from
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.
The cloning steps for The input
elements
must propagate the value, dirty value flag,
- 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.type
attribute is in the File Upload state.
As of the time of this writing, typical browser implementations show such picker UI for:
+ +input
elements whose type
+ attributes are in the Date, Month, Week,
+ Time, Local Date and Time, and Color states;
input
elements in various states that have a 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
must propagate the value, dirty value flag,
firing either input
and change
events, or a cancel
event.)
As of the time of this writing, typical browser implementations show such picker UI for:
- -input
elements whose type
- attributes are in the Date, Month, Week,
- Time, Local Date and Time, and Color states;
input
elements in various states that have a 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 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 implementation-defined behavior. An input
element must support
+ a picker when its type
attribute is in the File Upload state.
Consume user activation given element's relevant global object.
If element does not support a + picker, then return.
If element is an input
element and element's type
attribute is in the
Otherwise, the user agent should show any relevant user interface for selecting a value for - element, in the way it normally would when the user interacts with the control. (If - element does not support a picker, then - this step does nothing.)
+Otherwise, the user agent should show the relevant user interface for selecting a value for + element, in the way it normally would when the user interacts with the control.
-If such a user interface is shown, it must respect the requirements stated in the relevant +
When showing such a user interface, it must respect the requirements stated in the relevant
parts of the specification for how element behaves given its type
attribute state. (For example, various sections describe
restrictions on the resulting value string.)
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.
:open
The :open
pseudo-class must any
- Element
falling into one of the following categories:
The :open
pseudo-class must match any
+ element falling into one of the following categories:
A details
element which has the open
attribute.
details
elements that have an open
+ attribute
A dialog
element which has the open
- attribute.
dialog
elements that have an open
+ attribute
A select
element which is a drop-down box whose drop-down box
- is open.
select
elements that are a drop-down box and whose drop-down
+ boxes are open
An input
element which supports a
- picker and whose picker is open.
input
elements that support a
+ picker and whose pickers are open