- From: Boris Zbarsky via GitHub <sysbot+gh@w3.org>
- Date: Tue, 13 Oct 2015 16:57:23 +0000
- To: www-dom@w3.org
bzbarsky has just created a new issue for https://github.com/whatwg/dom: == getElementsByTagName needs to be clearer on when the same object can or can't be returned == In particular, it looks to me like at call-time the `getElementsByTagName` call captures the HTML-ness of _root_'s node document at the time it's called. So if that HTML-ness changes, a new object needs to be returned. I put a testcase at http://web.mit.edu/bzbarsky/www/testcases/dom-queries/test_getElementsByTagName_1.html which tries to exercise some of the edge-cases here. See https://github.com/whatwg/dom/issues/90
Received on Tuesday, 13 October 2015 16:57:26 UTC