Bug 1743472 [wpt PR 31780] - [flex] Clamp available sizes to zero., a=testonly

Automatic update from web-platform-tests
[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 <almaher@microsoft.com>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#946104}

--

wpt-commits: 9811accad612849822802ab82e168a198cd89805
wpt-pr: 31780
This commit is contained in:
Ian Kilpatrick 2021-11-30 04:29:07 +00:00 коммит произвёл moz-wptsync-bot
Родитель 3bface93f3
Коммит 8ea7a321ae
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1274476">
<div style="display: flex;">
<div style="display: flex; height: 0; overflow-x: scroll;">a