Closed steffenweber closed 12 years ago
The depth-first search in traverseForElById has a bug: If a node has children then its siblings are never considered.
A test-case that fails without this bugfix:
document.write('<div><img/></div><div id="myDIV"></div>'); document.getElementById('myDIV').innerHTML = 'Works';
Thanks! :)
The depth-first search in traverseForElById has a bug: If a node has children then its siblings are never considered.
A test-case that fails without this bugfix: