summaryrefslogtreecommitdiffstats
path: root/layout/generic/nsFrame.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2017-08-17 20:46:41 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-03-12 09:46:03 +0100
commit920519e7c56a08f743e5230e8db30f635f5f7cf5 (patch)
tree376078743552d4dc02226578cfd16083328ae703 /layout/generic/nsFrame.cpp
parent505edf1ba4f6907c236b4876eefea606fa7b9cd0 (diff)
downloadUXP-920519e7c56a08f743e5230e8db30f635f5f7cf5.tar
UXP-920519e7c56a08f743e5230e8db30f635f5f7cf5.tar.gz
UXP-920519e7c56a08f743e5230e8db30f635f5f7cf5.tar.lz
UXP-920519e7c56a08f743e5230e8db30f635f5f7cf5.tar.xz
UXP-920519e7c56a08f743e5230e8db30f635f5f7cf5.zip
CSS - Grid - intristic content with overflow:auto overlaps in grid
Diffstat (limited to 'layout/generic/nsFrame.cpp')
-rw-r--r--layout/generic/nsFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp
index 69791d5c5..418fa16b7 100644
--- a/layout/generic/nsFrame.cpp
+++ b/layout/generic/nsFrame.cpp
@@ -4781,7 +4781,7 @@ nsFrame::ComputeSize(nsRenderingContext* aRenderingContext,
ComputeISizeValue(aRenderingContext, aCBSize.ISize(aWM),
boxSizingAdjust.ISize(aWM), boxSizingToMarginEdgeISize,
minISizeCoord, aFlags);
- } else if (MOZ_UNLIKELY(isGridItem)) {
+ } else if (MOZ_UNLIKELY(aFlags & eIApplyAutoMinSize)) {
// This implements "Implied Minimum Size of Grid Items".
// https://drafts.csswg.org/css-grid/#min-size-auto
minISize = std::min(maxISize, GetMinISize(aRenderingContext));