Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2698663003: [css-grid] Improve intrinsic size computation with orthogonal flows (Closed)
Patch Set: Patch for landing Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 5f4f5758e0fa9f5d417d334b3964da60f1a4635b..08fb319d8b4f63f47c3b0dcb501a3d0e08565d6d 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -2197,7 +2197,8 @@ static bool prepareOrthogonalWritingModeRootForLayout(LayoutObject& root) {
DCHECK(root.isBox() && toLayoutBox(root).isOrthogonalWritingModeRoot());
if (!root.needsLayout() || root.isOutOfFlowPositioned() ||
root.isColumnSpanAll() ||
- !root.styleRef().logicalHeight().isIntrinsicOrAuto())
+ !root.styleRef().logicalHeight().isIntrinsicOrAuto() ||
+ toLayoutBox(root).isGridItem())
return false;
removeFloatingObjectsForSubtreeRoot(root);

Powered by Google App Engine
This is Rietveld 408576698