-
Notifications
You must be signed in to change notification settings - Fork 23
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
"command" and "commandfor" attributes #264
Comments
mozilla/standards-positions#902 Mozilla Position request |
I2P Chrome and is in Chrome Canary behind the Experimental Web Platform Features flag. |
This is now officially positive from Mozilla. |
Just as an fyi OpenUI have agreed (openui/open-ui#952 (comment)) to an initial scope for invokers of just popover and dialog actions, along with custom actions. So the extra proposed actions such as media controls and fullscreen aren't intended to be part of the initial proposal to html. Hopefully this helps the WebKit team come to a conclusion on the concept of invokers and the concrete actions for popover and dialog without the more contentious additions holding it back. |
WebKit/WebKit#18794 the PR for testing this feature in WebKit has been merged. |
Following from @lukewarlow's comments, I'd like to reiterate that the invokers explainer is now scoped down to just popover & dialog defaults initially. The spec also reflects the defaults for these two. |
I think @annevk / @othermaciej had thoughts on the naming / design of the feature. |
Coming back to this are there any thoughts that the WebKit team would like to share on how this can be improved to gain their support. I think the proposal and spec PR are in a fairly good state but we're obviously open to any and all feedback. @annevk / @othermaciej did you still have feedback on the design that hasn't already been shared? |
Discussing this with colleagues we have these concerns:
1 is probably the more significant concern of the two. 2 can be addressed by knowing when to stop. |
One key difference between click and invoke is that invoke is fired on the target NOT the trigger. So one benefit is it flips the status quo allowing you to colocate logic with a target element. Because of this it doesn't seek to replace click. Wrt to 2 thats definitely a concern we've floated a number of ideas, mostly as a thought on what it could be used for, it doesn't necessarily mean they should. Custom actions exist specifically so that we can point users to them. |
Right, that works well though with |
How are they not the target of a click on the button? |
Semantically the click is on the button, I misunderstood originally what you meant, the concern is more about the name than the concept. Probably better to continue the naming discussion on whatwg/html#9625 so we can keep this less noisy, and get more input from a wider array of people. |
I've added some extra words in the explainer which hopefully provide more justification around the choices made. See https://open-ui.org/components/invokers.explainer/#why-the-name-invoke-why-not-click |
I agree that |
As requested: whatwg/html#9625 (comment). |
Given the discussions around recent semantic & naming changes have settled, I wonder if Apple's position has moved closer to one of support? Would we be able to get an official position from Apple on this feature-set? |
Thanks for the nudge:
|
WebKittens
@nt1m, @annevk, @rniwa
Title of the spec
HTML: command and commandfor attributes
URL to the spec
whatwg/html#9841
URL to the spec's repository
https://github.com/openui/open-ui
Issue Tracker URL
whatwg/html#9625
Explainer URL
https://open-ui.org/components/invokers.explainer/
TAG Design Review URL
w3ctag/design-reviews#920
Mozilla standards-positions issue URL
mozilla/standards-positions#902
WebKit Bugzilla URL
https://bugs.webkit.org/show_bug.cgi?id=262840
Radar URL
rdar://116960300
Description
Please can I get a standards position on the
commandfor
/command
/CommandEvent
part of the Invokers proposal.The text was updated successfully, but these errors were encountered: