Nested view transitions: adjust for border offset
Make sure the border width is only applied once when nesting.
Since the parent group receives the border width and the child group
computes its target transform based on its original position, by
default the top/left border widths are considered twice.
Adjust for this when computing the nested group transform.
Bug: 347947051
Change-Id: I2f4c42cd861d41bbd8c99586946745ffcf1a4913
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5946105
Reviewed-by: Jeremy Roman jbroman@chromium.org
Reviewed-by: Mike West mkwst@chromium.org
Commit-Queue: Noam Rosenthal nrosenthal@chromium.org
Cr-Commit-Position: refs/heads/main@{#1372661}