Commit 1f6399f
Throw on showPicker() when the <input> is not mutable
This CL makes sure showPicker() throws InvalidStateError DOMException
when the HTML input element is either disabled or readonly.
Spec: whatwg/html#7769
Bug: 939561
Change-Id: I3c3ad9be897beb17ac110092574331e3af80633c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3563070
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Fr <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/main@{#991363}1 parent d2bf5df commit 1f6399f
File tree
2 files changed
+30
-0
lines changed- html/semantics/forms/the-input-element
2 files changed
+30
-0
lines changedLines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments