-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add invokers (invoketarget & invokeaction) #9841
base: main
Are you sure you want to change the base?
Commits on Feb 13, 2024
-
Add InvokeElement, InvokeEvent, steps for invocation
This specifies some of the detail within the Invokers proposal (whatwg#9625). This introduces 2 new IDLs: - InvokeEvent: A new event that has `action` and `invoker`. - InvokeElement: A mixin applied to Buttons to add `invokeTargetElement`/`invokeAction` It also adds the `invoketarget` & `invokeaction` attributes which are reflected to the IDL properties. It also adds the steps for invocation: button activation checks if the node has an invokeTarget and dispatches an InvokeEvent if so. Things NOT covered in this commit that are included in the proposal (whatwg#9625): - Default per element behaviours (invocation action algorithms), this will be dealt with in subsequent individual commits. - `interestaction` and `interesttarget`.
Configuration menu - View commit details
-
Copy full SHA for c1c34a1 - Browse repository at this point
Copy the full SHA c1c34a1View commit details -
Add popover default behavior for invoke targets
This specifies what buttons with an invoketarget pointing to an element with `popover` should do, based on the Invokers proposal (whatwg#9625). This introduces new specifications just within the "invoke target attribute activation behavior" algorithm such that: - If an `invoketarget` points to an element with `popover` - If the `invokeaction` is `auto` or `togglePopover`, try to toggle the popover - If the `invokeaction` is `hidePopover`, try to hide the popover - If the `invokeaction` is `showPopover`, try to show the popover If the `invokeaction` is none of the above, then it will fall through the logic and be passed over to the "invocation action algorithm" for the invokee element, if present. Things NOT covered in this commit that are included in the proposal (whatwg#9625): - Default per element behaviours (invocation action algorithms) beyond popovers. These will be dealt with in subsequent commits adding each elements "invocation action algorithm". - `interestaction` and `interesttarget`.
Configuration menu - View commit details
-
Copy full SHA for e06b509 - Browse repository at this point
Copy the full SHA e06b509View commit details -
Add dialog associated invocation action algorithm
This specifies what buttons with an invoketarget pointing to a dialog element should do, based on the Invokers proposal (whatwg#9625). This introduces new specifications within the HTMLDialogElement, giving it an "associated invocation action algorithm" such that: - If an `invoketarget` points to an HTMLDialogElement element - If the `invokeaction` is `auto` or `close`, and the Dialog is open, then try to close the dialog. - If the `invokeaction` is `auto` or `showmodal` and the Dialog is not open, then try to open the dialog. If the `invokeaction` is none of the above, then it will do nothing. Things NOT covered in this commit that are included in the proposal (whatwg#9625): - Other per element behaviours (invocation action algorithms) beyond HTMLDialogElement. These will be dealt with in subsequent commits adding each elements "invocation action algorithm". - `interestaction` and `interesttarget`.
Configuration menu - View commit details
-
Copy full SHA for 5332696 - Browse repository at this point
Copy the full SHA 5332696View commit details -
Add non-normative reference table for invoke actions
This assists developers (and to a degree implementers) in providing a quick reference from which to see the action hints that an invokeaction may supply in order to have an effect on given elements.
Configuration menu - View commit details
-
Copy full SHA for 53ca0af - Browse repository at this point
Copy the full SHA 53ca0afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fa0df4 - Browse repository at this point
Copy the full SHA 3fa0df4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0641590 - Browse repository at this point
Copy the full SHA 0641590View commit details -
Configuration menu - View commit details
-
Copy full SHA for c099437 - Browse repository at this point
Copy the full SHA c099437View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6de0d8 - Browse repository at this point
Copy the full SHA b6de0d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c942d37 - Browse repository at this point
Copy the full SHA c942d37View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1d0578 - Browse repository at this point
Copy the full SHA c1d0578View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cefcf4 - Browse repository at this point
Copy the full SHA 4cefcf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e03d894 - Browse repository at this point
Copy the full SHA e03d894View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74eabd9 - Browse repository at this point
Copy the full SHA 74eabd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d71aa2c - Browse repository at this point
Copy the full SHA d71aa2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa0b8dd - Browse repository at this point
Copy the full SHA fa0b8ddView commit details
Commits on Feb 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 42c2c3d - Browse repository at this point
Copy the full SHA 42c2c3dView commit details
Commits on Mar 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8dfcbc5 - Browse repository at this point
Copy the full SHA 8dfcbc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b40ba86 - Browse repository at this point
Copy the full SHA b40ba86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eb6c3c - Browse repository at this point
Copy the full SHA 8eb6c3cView commit details
Commits on Mar 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7ce17a7 - Browse repository at this point
Copy the full SHA 7ce17a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfcda15 - Browse repository at this point
Copy the full SHA cfcda15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89bd8c8 - Browse repository at this point
Copy the full SHA 89bd8c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 015f935 - Browse repository at this point
Copy the full SHA 015f935View commit details
Commits on Mar 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 910e232 - Browse repository at this point
Copy the full SHA 910e232View commit details
Commits on Mar 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ed07121 - Browse repository at this point
Copy the full SHA ed07121View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43f7a9e - Browse repository at this point
Copy the full SHA 43f7a9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dca0ab - Browse repository at this point
Copy the full SHA 8dca0abView commit details
Commits on Apr 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6ffe325 - Browse repository at this point
Copy the full SHA 6ffe325View commit details
Commits on Apr 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c6bca61 - Browse repository at this point
Copy the full SHA c6bca61View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0da230 - Browse repository at this point
Copy the full SHA d0da230View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8271024 - Browse repository at this point
Copy the full SHA 8271024View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b2d5ef - Browse repository at this point
Copy the full SHA 8b2d5efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ad74f1 - Browse repository at this point
Copy the full SHA 4ad74f1View commit details
Commits on May 3, 2024
-
add invokeaction/invoketarget attributes to indices
This also makes distinct the "valid custom invokeaction" algorithm
Configuration menu - View commit details
-
Copy full SHA for d11e9a8 - Browse repository at this point
Copy the full SHA d11e9a8View commit details -
refine the button invoke/popover steps
This allows us to remove the checks in invoke target attribute activation behavior
Configuration menu - View commit details
-
Copy full SHA for 57a2ec4 - Browse repository at this point
Copy the full SHA 57a2ec4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 053eea6 - Browse repository at this point
Copy the full SHA 053eea6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ae49ba - Browse repository at this point
Copy the full SHA 0ae49baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2013e27 - Browse repository at this point
Copy the full SHA 2013e27View commit details -
Configuration menu - View commit details
-
Copy full SHA for deadc6d - Browse repository at this point
Copy the full SHA deadc6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a6b40b - Browse repository at this point
Copy the full SHA 3a6b40bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02d1cc0 - Browse repository at this point
Copy the full SHA 02d1cc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dd6cbc - Browse repository at this point
Copy the full SHA 4dd6cbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b933bc - Browse repository at this point
Copy the full SHA 3b933bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6a49a0 - Browse repository at this point
Copy the full SHA d6a49a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5baf467 - Browse repository at this point
Copy the full SHA 5baf467View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93e12cc - Browse repository at this point
Copy the full SHA 93e12ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5231e73 - Browse repository at this point
Copy the full SHA 5231e73View commit details -
Configuration menu - View commit details
-
Copy full SHA for d845085 - Browse repository at this point
Copy the full SHA d845085View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f2f147 - Browse repository at this point
Copy the full SHA 8f2f147View commit details -
Configuration menu - View commit details
-
Copy full SHA for d56ea6a - Browse repository at this point
Copy the full SHA d56ea6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c6a899 - Browse repository at this point
Copy the full SHA 0c6a899View commit details -
Configuration menu - View commit details
-
Copy full SHA for a72df39 - Browse repository at this point
Copy the full SHA a72df39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e164d6 - Browse repository at this point
Copy the full SHA 7e164d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a38016e - Browse repository at this point
Copy the full SHA a38016eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6de6013 - Browse repository at this point
Copy the full SHA 6de6013View commit details -
Configuration menu - View commit details
-
Copy full SHA for daefd79 - Browse repository at this point
Copy the full SHA daefd79View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2eef3f - Browse repository at this point
Copy the full SHA e2eef3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7631962 - Browse repository at this point
Copy the full SHA 7631962View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1560ba7 - Browse repository at this point
Copy the full SHA 1560ba7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48c5376 - Browse repository at this point
Copy the full SHA 48c5376View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b6a3c4 - Browse repository at this point
Copy the full SHA 8b6a3c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa2a481 - Browse repository at this point
Copy the full SHA fa2a481View commit details -
Configuration menu - View commit details
-
Copy full SHA for 546167a - Browse repository at this point
Copy the full SHA 546167aView commit details
Commits on May 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 49cf0ad - Browse repository at this point
Copy the full SHA 49cf0adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e3795b - Browse repository at this point
Copy the full SHA 1e3795bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a45f6c - Browse repository at this point
Copy the full SHA 2a45f6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b13df14 - Browse repository at this point
Copy the full SHA b13df14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a5ab06 - Browse repository at this point
Copy the full SHA 9a5ab06View commit details
Commits on May 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2dd96e2 - Browse repository at this point
Copy the full SHA 2dd96e2View commit details