W3C home > Mailing lists > Public > public-html@w3.org > April 2007

RE: innerHTML and setTimeout

From: Dailey, David P. <david.dailey@sru.edu>
Date: Mon, 9 Apr 2007 20:55:11 -0400
Message-ID: <1835D662B263BC4E864A7CFAB2FEEB3D258BBA@msfexch01.srunet.sruad.edu>
To: "Charles McCathieNevile" <chaals@opera.com>, <public-html@w3.org>

On Mon 4/9/2007 7:10 PM Charles McCathieNevile wrote:

>So I don't see any particular problem with the HTML WG defining HTML-specific APIs in particular (and reviewed the charter with that question among others in my mind). Andif you want the Web API group to take on new deliverables, you wil probably need to volunteer up the manpower to do the work - we are somethwat stretched as it is.

Thanks Chaals. I guess this leaves just a couple of questions open though: are innerHTML and setTimeout "HTML-specific" enough to satisfy your group and its charter?
 
innerHTML would certainly seem to be,  though in the WHATWG doc, there is a sticky note mentioning that it should perhaps be called something else for consistency with XML documents. Something like innerXML to serialize other namespaces would prove handy at times. (SVG/Adobe has object.printNode -- though that is read only,  as I recall.)
 
setTimeout, rather mercifully, works within SVG (much as one would expect it to), and though SMIL is about 80 degrees preferrable from an author's perspective it doesn't do everything that setTimeout + script allows (I really don't think SVG's SMIL is Turing complete). It would be rather an unhappy circumstance if an HTML defn of setTimeout ended up breaking the SVG part of the web.
 
cheers,
David
 
 
Received on Tuesday, 10 April 2007 00:55:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:42 UTC