Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

On 10/31/13 7:42 AM, Anne van Kesteren wrote:
> http://dom.spec.whatwg.org/#parentnode

Thank you.

By the way, I noticed another behavior difference between getElementById 
and querySelector while implementing this.  Consider this testcase:

data:text/html,<script id="FOO">alert(document.querySelector("%23foo") + 
" | " + document.getElementById("foo"))</script>

Yes, quirks mode, yadda yadda... ;)

-Boris

Received on Thursday, 31 October 2013 21:19:59 UTC