提交 926f1e09 编写于 作者: D Daniel Imms

Remove menu and menuitem from tag list as they aren't widely adopted

As per #806
上级 72e16bb2
...@@ -400,13 +400,14 @@ export const HTML_TAGS : { [tag:string]: HTMLTagSpecification } = { ...@@ -400,13 +400,14 @@ export const HTML_TAGS : { [tag:string]: HTMLTagSpecification } = {
summary: new HTMLTagSpecification( summary: new HTMLTagSpecification(
'summary', 'summary',
'The summary element represents a summary, caption, or legend for the rest of the contents of the summary element\'s parent details element, if any.'), 'The summary element represents a summary, caption, or legend for the rest of the contents of the summary element\'s parent details element, if any.'),
menu: new HTMLTagSpecification( // <menu> and <menuitem> are not yet supported by 2+ browsers
'menu', //menu: new HTMLTagSpecification(
'The menu element represents a list of commands.', // 'menu',
['type:mt', 'label']), // 'The menu element represents a list of commands.',
menuitem: new HTMLTagSpecification( // ['type:mt', 'label']),
'menuitem', //menuitem: new HTMLTagSpecification(
'The menuitem element represents a command that the user can invoke from a popup menu (either a context menu or the menu of a menu button).'), // 'menuitem',
// 'The menuitem element represents a command that the user can invoke from a popup menu (either a context menu or the menu of a menu button).'),
dialog: new HTMLTagSpecification( dialog: new HTMLTagSpecification(
'dialog', 'dialog',
'The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window.'), 'The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window.'),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册