-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[Editorial] rework button states to allow for command/commandfor attributes #10960
Merged
foolip
merged 19 commits into
whatwg:main
from
keithamus:rework-button-states-to-allow-for-command-commandfor-attributes
Feb 11, 2025
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
e8272a4
rework button states to allow for command/commandfor attributes
keithamus 577a4da
add missing comma
keithamus d63744d
break out submit button state into "any of the following are true" prose
keithamus 3cfa28d
s/ol/ul
keithamus 365fa11
s/./; or
keithamus c59316e
reduce submit button concept down to 1 para again
keithamus c0b815e
fix double element word
keithamus c01d8a6
move dfn of concept-submit-button
keithamus 5172b22
use span instead of code element
keithamus 957b616
revert to use standard reflection for `type` IDL
keithamus 211e3b8
rephrase button behaviour steps, avoiding breaking returns
keithamus 8672351
move submit button export to new dfn
keithamus a3bb3af
format some lines to 100 columns
keithamus 83b4f4b
remove return on reset
keithamus d19e186
re-add element (not a typo!)
keithamus 111c287
drop "and return"
keithamus 481ee79
re-introduce "limited to only known values"
keithamus e694a91
comma
keithamus 2a702e1
formatting
keithamus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see how you can move this definition to the
button
element section. Thebutton
element is not alone in being able to be a submit button.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#11018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, this swap of definition and use was my suggestion in #10960 (comment). I didn't check other uses of the concept and now see that it's used a lot to make various things "specifically a submit button."