Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change dir=auto to fall back to ltr rather than inheriting
This restores the old behavior that was part of the spec from November 2010 to April 2013, which is that elements with dir=auto (and <bdi> without dir) that contain no strong LTR or strong RTL characters fall back to ltr, rather than inheriting the parent's directionality. This matches what is implemented in Gecko and WebKit, and what was implemented in Chromium until a few months ago. A small number of regressions were reported as a result of this change. Given that I don't see a clear consensus that the spec behavior is better, it seems better to revert back to the existing behavior and avoid breaking some existing content that depends on it. Fixes #10097.
- Loading branch information