commit | 379280a404b54a67e57c63c7dc1c2a3f66a9a9f8 | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jessewilson@google.com> | Tue Jan 11 17:52:39 2011 -0800 |
committer | Jesse Wilson <jessewilson@google.com> | Tue Jan 11 17:52:39 2011 -0800 |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
parent | 677b0cb9319c750af7e5eaa26ee8d5b9940da85a [diff] |
Fix Document.getElementsByTagName to return the root node. I introduced this regression when changing Element.getElementsByTagName to not return itself. Note that one of our tests (GetElementsByTagNameNS) had the wrong expectation here; the new result is consistent with the RI. Also fix a related problem in InnerNodeImpl which assumes the document field is always non-null. It can be null for Doctype nodes! Change-Id: I40b5bb52b8396cd282cd5465029a9f0c4040de0c
This tree is empty.