Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the wrong directionality of slots
After the CL that introduced the cache of the directionality of the element at https://crrev.com/c/2666349, Slots have a wrong directionality, and this CL supplements additionally as follows: - Resolve the directionality and propagate it to descendant if the slot element or it's parent has dir=auto - Propagate the directionality to the assigned nodes if the slot element has a valid dir attribute - Resolve the directionality if the assigned node or its parent have dir=auto - Resolve the directionality when the assigned node is a text node Bug: 1185781 Change-Id: I9c3bba672f3c9580a1c687539cb3215b0f4f2f66 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2744562 Commit-Queue: Miyoung Shin <myid.shin@igalia.com> Reviewed-by: Mason Freed <masonfreed@chromium.org> Reviewed-by: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#861868}
- Loading branch information