Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flex] Clamp available sizes to zero.
Scrollbars may be present on a box. When subtracting BorderScrollbarPadding we almost always need to clamp to zero, as the border-box size - bsp may be negative. Bug: 1274476 Change-Id: I55322f5c5bc5a5bbe9fefc1eb1403677044b9443 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3307128 Reviewed-by: Alison Maher <[email protected]> Commit-Queue: Ian Kilpatrick <[email protected]> Cr-Commit-Position: refs/heads/main@{#946104}
- Loading branch information