Chromium Code Reviews
Description[css-grid] Fix definite/indefinite size detection for abspos elements
LayoutBox::percentageLogicalHeightIsResolvable() was not working fine
to check if a positioned grid container has definite/indefinite height.
The positioned grid container only has definite height when it has
a fixed height or the offset properties (top and bottom) are non-auto.
The patch fixes LayoutBox::computePercentageLogicalHeight()
to take this into account for grid items too.
BUG=538513
TEST=fast/css-grid-layout/flex-item-grid-container-percentage-rows.html
Committed: https://crrev.com/d9d2d58cf4978b88d19d5647040354a21ea6979b
Cr-Commit-Position: refs/heads/master@{#398728}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 8 (3 generated)
|
||||||||||||||||||||||||||||