- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Fri, 29 Jun 2012 18:09:14 -0400
- To: Ryosuke Niwa <rniwa@webkit.org>
- CC: Olli Pettay <Olli.Pettay@helsinki.fi>, www-dom@w3.org
On 6/29/12 5:30 PM, Ryosuke Niwa wrote: > Any detached DOM tree as I understand it. This seems to work just fine in WebKit for me: <!DOCTYPE html> <pre><script> var d = document.createElement("div"); d.innerHTML = '<p><span class="x">Text</span><span></span></p>'; document.writeln(d.querySelector(".x")); document.writeln(d.querySelectorAll("span").length); </script> so I'm not sure what you were being told, exactly.... -Boris
Received on Friday, 29 June 2012 22:09:43 UTC