DevTools: Send flex item's baselines to the flex overlay
DevTools wants to be able to display the baseline when items are aligned on it. So this change adds the offset information to the output that's already sent to the overlay frontend. Note that the item's margin is also added to the baseline's offset because the frontend only knows about item's margin boxes, so it needs an offset that's relative to that. This CL changes the format of the data sent to the frontend, so to avoid breakages if this change landed before the corresponding frontend CL, I will make sure to land the frontend first, with compatibility code for both formats. Frontend CL: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2567355/ Bug: 1139949 Change-Id: I8c922cd07265b9dee3edc43330210cf935bd06fe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567643 Commit-Queue: Patrick Brosset <patrick.brosset@microsoft.com> Reviewed-by:Alex Rudenko <alexrudenko@chromium.org> Reviewed-by:
Peter Marshall <petermarshall@chromium.org> Cr-Commit-Position: refs/heads/master@{#833233}
Showing
Please register or sign in to comment