[webkit-dev] Implementing HTML5 menu element

2011-09-06 Thread Antaryami Pandia
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

Re: [webkit-dev] Implementing HTML5 menu element

2011-09-06 Thread Jarred Nicholls
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 xqb...@motorola.comwrote: Hi,

Re: [webkit-dev] Implementing HTML5 menu element

2011-09-06 Thread Antaryami Pandia
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 jar...@sencha.com wrote: Consider that menu and dir were both deprecated in HTML4 in 1999[1], and are

Re: [webkit-dev] Implementing HTML5 menu element

2011-09-06 Thread Jarred Nicholls
I don't know how to answer that, as I don't know the policy at this given moment. But I did want to provide some information for the deciders. I'm just as curious; I'm not sure if or when the last time a name clash like this has occurred. Jarred On Tue, Sep 6, 2011 at 8:09 AM, Antaryami Pandia

Re: [webkit-dev] Implementing HTML5 menu element

2011-09-06 Thread Ian Hickson
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 .

Re: [webkit-dev] RefPtr/PassRefPtr Question

2011-09-06 Thread Maciej Stachowiak
On Aug 31, 2011, at 3:31 PM, David Levin wrote: Ignore me. I'm missing the . I suppose if you want a RefPtr, then the style checker is wrong and the parameter should be allowed to be a RefPtr. Feel free to file a bug and I'll get to it (-- it may take me a week or two at the moment).

[webkit-dev] unsigned versus size_t in WTFString.h

2011-09-06 Thread Adam Barth
I wanted to confirm my understanding before going too far off into the woods: Most of the uses of unsigned in WTFString.h should really be size_t, right? http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/wtf/text/WTFString.h For example, unsigned length() const should be size_t