Travis Leithead wrote: > Wow. I thought that insertAdjecentHTML was ready for deprecation. > >>> There's also the argument that if outerHTML/insertAdjecentHTML is >>> popular enough that we're adding them to HTML [...] > > Is this purely conjecture, or is there any data to back this up? Grepping for "insertAdjacentHTML" in 130K text/html pages (i.e. only looking at inline scripts) finds 146 pages: http://philip.html5.org/data/insertAdjacentHTML.txt "outerHTML" is on 152: http://philip.html5.org/data/outerHTML.txt So they're both used on about 0.1% of these pages. (For comparison, "innerHTML" is on 5711 pages.) -- Philip Taylor pjt47@cam.ac.ukReceived on Thursday, 29 January 2009 11:14:41 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:40:26 GMT