[FlexNG] Set margins on item's LayoutBox before computing position
FlexibleBoxAlgorithm reads margins from LayoutBox. We weren't positioning items with margins correctly in FlexNG before this patch. Bug: 845235 Change-Id: I4d05fd6107f0140d69c6aee3f56d78dc430862c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1913707Reviewed-by:Christian Biesinger <cbiesinger@chromium.org> Commit-Queue: David Grogan <dgrogan@chromium.org> Cr-Commit-Position: refs/heads/master@{#714813}
Showing
Please register or sign in to comment