Don't rerun the downward propagation algorithm from ResetNodeDirection after an element has had dir=auto removed. Bug 849727, r=ehsan
Set AncestorHasDirAuto on the descendants of a <bdi> having its dir attribute removed or set to an invalid value. Bug 849732, r=ehsan