Make sure not to return the old text node in ResetNodeDirection. Bug 845093, r=ehsan, a=bajaj
Move WalkDescendantsClearAncestorDirAuto from BeforeSetAttr to OnSetDirAttr to simplify the test for elements that had dir=auto but no longer do, especially <bdi>. Bug 845093, r=ehsan, a=bajaj
Add hunk missing from changeset 9a2cea1ca678, r+a=bustage