Analyzing one of the TODOs from https://chromium.googlesource.com/chromium/src/+/3594da711b52b5eac14253f3e2a78f55a9fcb608
related to scrollbars I've found this issue.
Check the attached examples, the issue is more noticeable in Grid Layout but it also happens on Flexbox.
The problem is that the items have a child with 100% width and height.
The items also have margin, padding, border and scrollbar.
The scrollbar size is ignored so the items end up being bigger than expected,
causing overflow (so you can actually scroll) when it was supposed to not happen.
|
Deleted:
flex.html
1.5 KB
|
|
Deleted:
grid.html
1.5 KB
|
Comment 1 by bugdroid1@chromium.org
, Apr 25 2018