[webkit-dev] Implementing HTML5 menu element

Ian Hickson ian at hixie.ch
Tue Sep 6 13:02:25 PDT 2011


On Tue, 6 Sep 2011, Antaryami Pandia wrote:
>
> We are intending to implement the HTML5 <menu> tag.
> 
> The related specs can be found at:-
>        - http://www.whatwg.org/specs/web-apps/current-work/#the-menu-element
>        -
> http://dev.w3.org/html5/spec/interactive-elements.html#the-menu-element .
> 
> A bug for the purpose is already logged at webkit bugzilla (
> https://bugs.webkit.org/show_bug.cgi?id=58454).
> 
> Currently webkit does have a support for menu tag (not html5) with below
> interface:-
> 
>     interface HTMLMenuElement : HTMLElement {
>         attribute [Reflect] boolean compact;
>     };
> 
> Where as the proposed new implementation will have the interface as:-
> 
>     interface HTMLMenuElement : HTMLElement {
>            attribute DOMString type;
>            attribute DOMString label;
>    };
> 
> So my question is should we also support the earlier menu tag
> implementation?

The HTML spec still requires "compact" to be supported, look for "partial 
interface HTMLMenuElement" around here:

 http://www.whatwg.org/specs/web-apps/current-work/complete.html#dom-link-charset

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the webkit-dev mailing list