Summary: | [Interop 2021][css-flexbox] flex item margins not included in flex container overflow | ||
---|---|---|---|
Product: | WebKit | Reporter: | fantasai <fantasai.bugs> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | baba, bfulgham, karlcow, koivisto, ntim, simon.fraser, smoley, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | BrowserCompat, InRadar, WPTImpact |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://github.com/w3c/csswg-drafts/issues/4577 | ||
Bug Depends on: | |||
Bug Blocks: | 212046 |
Description
fantasai
2020-11-04 11:51:49 PST
if (isGridItem()) { // As per https://github.com/w3c/csswg-drafts/issues/3653, child's margins should contribute to the scrollable overflow area. // FIXME: Expand it to non-grid cases when applicable. rect.setWidth(rect.width() + std::max(0_lu, marginEnd())); } in RenderBox::layoutOverflowRectForPropagation is a good first place to look at. |