[FlexNG] Accommodate RTL flex containers
FlexibleBoxAlgorithm flips the positions of items in RTL row containers. Legacy flips items in RTL column containers before setting their positions and I thought I'd have to do something similar in LayoutNG. But LayoutNG assumes children will be positioned without flipping for RTL; the fragment flips children automatically upon creation [1]. So this patch prevents FlexibleBoxAlgorithm from flipping for RTL in FlexNG. [1] https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/layout/ng/ng_physical_container_fragment.cc?rcl=70b1c5fbc63772bd98d26d26ddded71ca96f5f1f&l=76 Bug: 845235 Change-Id: I672b0b8b4f9781c54edaa60cb2ce7e0f46610cec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1889011Reviewed-by:Christian Biesinger <cbiesinger@chromium.org> Commit-Queue: David Grogan <dgrogan@chromium.org> Cr-Commit-Position: refs/heads/master@{#713165}
Showing
Please register or sign in to comment