为什么Caniuse认为HTML标签menu
"在所有浏览器中都得到了很好的支持"(http://caniuse.com/#search=HTML4%20elements%20(良好支持%20子集)?
根据Mozilla网站,来自Web浏览器的支持相当差(https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu#Browser_compatibility)。
HTML menu
标记是否仅在(如果)它包含嵌套的 menuitem
标记时才有意义(即使根据 caniuse:http://caniuse.com/#feat=menu,它的支持也很少)?
谢谢。
<p>The following html tag <i>menu</i> actually works in all web browser: is this (without nested <i>menuitem</i> tag) a "proper" use of the tag?</p>
<menu>
<li>1</li>
<li>2</li>
<li><button>button</button></li>
</menu>
我在 caniuse 支持页面上得到了答案(谢谢建议@mplungjan):https://github.com/Fyrd/caniuse/issues/3121#issuecomment-274061971
我最初问题的第一个链接("菜单元素得到了很好的支持")指的是HTML4。