Skip to content

Add the :open pseudo-class #10126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Dec 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add shared picker dfn
  • Loading branch information
josepharhar committed Nov 26, 2024
commit a9fcf7889c24fe05c1f30d8a44992250a6e96f7e
15 changes: 11 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -48169,6 +48169,11 @@ interface HTMLInputElement : HTMLElement {
data-x="attr-input-type-checkbox">Checkbox state) stop an input element from
being mutable.


Some states of the type attribute

data-x="input-support-picker">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.


The cloning steps for input elements

must propagate the value,
data-x="concept-fe-dirty">dirty value flag,
Expand Down Expand Up @@ -52636,8 +52641,10 @@ 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

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 "InvalidStateError" DOMException if

input is not mutable.

Expand Down Expand Up @@ -74811,8 +74818,8 @@ Demos:
  • A select element which is a drop-down box whose drop-down box

  • is open.


  • An input element which supports a picker popup and whose picker popup is

  • open.

  • An input element which ">supports a

  • picker popup and whose picker popup is open.

    Expand Down