Match grid direction when highlighting a grid with Inspector Tool
In the current master state the grid highlighted by Inspector Tool is always being calculated and rendered with direction:ltr, regardless of its CSS direction property. This CL adds getColumnPosition function, that checks if grid's direction is ltr or rtl. If direction is rtl, it translates the coordinates to rtl. getColumnPosition is then called by BuildGridInfo to evaluate PhysicalOffset and PhysicalSize when painting the grid. BUG=1086923 Change-Id: Ic43463b9aa643358d2ad06e2a6f4f7755c6c48f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2213530 Commit-Queue: Javier Fernandez <jfernandez@igalia.com> Reviewed-by:Javier Fernandez <jfernandez@igalia.com> Reviewed-by:
Alex Rudenko <alexrudenko@chromium.org> Reviewed-by:
Andrey Kosyakov <caseq@chromium.org> Cr-Commit-Position: refs/heads/master@{#797646}
Showing
This diff is collapsed.
Please register or sign in to comment