[webkit-dev] Implementing HTML5 menu element

Antaryami Pandia xqb748 at motorola.com
Tue Sep 6 05:09:24 PDT 2011


So moving forward should we modify the existing HTMLMenuElement class or
keep it in some way for backward compatibility.

Regards,
-Antaryami

On Tue, Sep 6, 2011 at 5:06 PM, Jarred Nicholls <jarred at sencha.com> wrote:

> Consider that menu and dir were both deprecated in HTML4 in 1999[1], and
> are obsolete with HTML5.  HTML4 Transitional/loose DTD still recognizes
> them.
>
> Jarred
>
> [1]: http://www.w3.org/TR/html4/struct/lists.html#h-10.4
>
> On Tue, Sep 6, 2011 at 5:40 AM, Antaryami Pandia <xqb748 at motorola.com>wrote:
>
>> Hi,
>> 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?
>>
>> Regards,
>> -Antaryami
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>
>>
>
>
> --
> ................................................................
>
> *Sencha*
> Jarred Nicholls, Senior Software Architect
> @jarrednicholls
> <http://twitter.com/jarrednicholls>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110906/f663de58/attachment.html>


More information about the webkit-dev mailing list