Need to include non-auto margins when resolving auto margins. (#46517)
Make sure that an auto margin doesn't receive the space actually taken
up by the non-auto margin on the other side of the box. Didn't get this
right for @page auto margins.
Bug: 40286153
Change-Id: Iff877c6f0ad9ecee594f51ef7b4ca5f71eb3be26
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5573406
Commit-Queue: Morten Stenshorne mstensho@chromium.org
Reviewed-by: Ian Kilpatrick ikilpatrick@chromium.org
Cr-Commit-Position: refs/heads/main@{#1307087}
Co-authored-by: Morten Stenshorne mstensho@chromium.org