Skip to content

Remove some unimplemented menu and command features#244

Merged
domenic merged 2 commits intomasterfrom
remove-command-api
Oct 14, 2015
Merged

Remove some unimplemented menu and command features#244
domenic merged 2 commits intomasterfrom
remove-command-api

Conversation

@domenic
Copy link
Member

@domenic domenic commented Oct 9, 2015

This contains two separate commits, each with reasonably detailed commit descriptions. It's a start toward #237, but there are still things to do.

This removes the command API properties commandType, commandLabel, commandIcon, commandHidden, commandDisabled, and commandChecked. It also removes document.commands. These were not implemented anywhere, and per #237, were not on track to be implemented.

Without these APIs, the command facets Type, ID, Hint, Icon, and Checked State are no longer used by the specification. (The remaining facets, viz. Label, Access Key, Hidden State, Disabled State, and Action, are still used, mostly by the accesskey specification.)
The spec contains a provision wherein <menuitem>s can have command="" attributes which contain the ID of another command that they delegate to. This has not been implemented in either of the two engines which have implemented menu items.

Part of #237.
@domenic domenic force-pushed the remove-command-api branch from db3a62b to d65089b Compare October 14, 2015 16:41
@domenic domenic merged commit d65089b into master Oct 14, 2015
@domenic domenic deleted the remove-command-api branch October 14, 2015 16:42
@domenic domenic mentioned this pull request Jun 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

removal/deprecation Removing or deprecating a feature

Development

Successfully merging this pull request may close these issues.

1 participant