-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Add commandfor & command attributes to HTMLButtonElement #9841
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
Changes from 1 commit
e1f3111
672183f
e4e1c4b
a76843c
f65b298
4e07504
a128e7a
719899d
8afb669
c43b2fc
eec15ad
2196384
9c93cb2
934d950
bff3f10
150eec8
e5a111c
f0f3902
7a1fe7d
871c076
05890f8
9f60688
ec6514f
a3e56e4
b13fc3f
0790c33
74949fe
8779da9
1166eb4
aa804b6
729674c
5a6e582
4757ab1
23dac08
7d5fc66
bba3085
8e2d7a6
a3bbc4a
4dbb892
21fefc6
767c4c3
a033ef8
8e6b74e
8d2a17b
8e6ae5b
d6536f1
25d8c9b
eb62a52
8621f0a
44a398d
0c1dd19
e47a66c
c1c8f42
34e7de8
b5c402a
8b6b4db
15142b8
397c490
f07be5a
224c61d
0ce6b7e
c71a1fb
2cf379a
d2eb8df
0a57503
d02a649
9aa7109
463df24
c37596b
35849e7
d27d514
7d69572
7c44d2b
09d1279
3279166
abb077c
4d7388d
9470347
73ed957
79aecb9
e9dbd6c
74c72bf
d5c9ed4
40893c4
05194d8
cb6a2d3
4f70118
d345eb5
acf7248
1aa382f
4a580e6
467c30c
055ab9b
a605a9c
1b7c383
8a14367
ed46d37
7467651
e576e82
c592656
73e89d0
45a98b8
955b070
1096559
baaeaa0
3d67bb9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53800,11 +53800,11 @@ interface <dfn interface>HTMLButtonElement</dfn> : <span>HTMLElement</span> { | |
|
||
<li><p>If <var>type</var> is in the <span | ||
data-x="attr-button-type-submit-state">Submit</span> state, and <span>this</span> is a <span | ||
data-x="concept-submit-button">submit button</span>, return the string | ||
data-x="concept-submit-button">submit button</span> then return the string | ||
"<code data-x="">submit</code>".</p></li> | ||
|
||
<li><p>If <var>type</var> is in the <span | ||
data-x="attr-button-type-reset-state">Reset</span> state, return the string | ||
data-x="attr-button-type-reset-state">Reset</span> state then return the string | ||
"<code data-x="">reset</code>".</p></li> | ||
|
||
<li><p>Return the string "<code data-x="">button</code>".</p></li> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was thinking that here too we might be able to use "canonical keyword", but that probably would require returning button if the state is Submit as a second step? Not sure if worth it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right. It would save us from having "reset" and "submit" potentially, and maybe it would be useful if we end up adding new types to button. Happy to do it if you think I should. |
||
|
Uh oh!
There was an error while loading. Please reload this page.