Re: Element.create(): a proposal for more convenient element creation

2011-08-06 Thread Charles Pritchard
On 8/6/2011 3:54 PM, Garrett Smith wrote: On 8/6/11, Charles Pritchard wrote: On 8/6/2011 9:05 AM, Dominic Cooney wrote: Element.create looks neat. Three thoughts: ... Let me briefly reiterate that I think we want *both* Element.create and constructors; they have complementary uses. I agree

Re: Element.create(): a proposal for more convenient element creation

2011-08-06 Thread Garrett Smith
On 8/6/11, Charles Pritchard wrote: > On 8/6/2011 9:05 AM, Dominic Cooney wrote: >> Element.create looks neat. Three thoughts: > ... >> Let me briefly reiterate that I think we want *both* Element.create >> and constructors; they have complementary uses. > I agree. And for no reason, it seems. >

Re: Element.create(): a proposal for more convenient element creation

2011-08-06 Thread Charles Pritchard
On 8/6/2011 9:05 AM, Dominic Cooney wrote: Element.create looks neat. Three thoughts: ... Let me briefly reiterate that I think we want *both* Element.create and constructors; they have complementary uses. I agree. Second, re: setAttribute vs setting properties, there might be types other

Re: Element.create(): a proposal for more convenient element creation

2011-08-06 Thread Dominic Cooney
Element.create looks neat. Three thoughts: First, I think Element.create *and* constructors like new HTMLDivElement(attributes, children) are both useful. Element.create is good when you have a tag name in hand, are creating unknown elements, or are creating elements that don’t have a specific con

[Bug 13691] method setItem(key, value) Why don't you fix a third optional parameter to set the "duration" of the key/value pair. If it is not set the key/value pair will not expire otherwise it wil

2011-08-06 Thread bugzilla
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13691 Art Barstow changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 13686] Either remove the special case from onmessage (to call start()) or add it also to addEventListener listeners

2011-08-06 Thread bugzilla
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13686 Olli Pettay changed: What|Removed |Added Status|RESOLVED|REOPENED CC|