Backed out changeset 65fd27c97676 (bug 894948) for regressions in Dromaeo DOM-traversal

--HG--
extra : rebase_source : e2bfa1f59ff8ab0a277883eabd67b7aff228907c