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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.cpp

Issue 1691053002: Cannot do simplified layout on an object that contains a column-spanner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/layout/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index 6774606bbe87f2d44541a216072c22e94fcafb04..f942d6ebaee394f8d6e0f9178f9d9aebfc7d1f27 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -1093,6 +1093,11 @@ bool LayoutBlock::simplifiedLayout()
if (needsPositionedMovementLayout() && !tryLayoutDoingPositionedMovementOnly())
return false;
+ if (LayoutFlowThread* flowThread = flowThreadContainingBlock()) {
+ if (!flowThread->canSkipLayout(*this))
+ return false;
+ }
+
TextAutosizer::LayoutScope textAutosizerLayoutScope(this);
// Lay out positioned descendants or objects that just need to recompute overflow.

Powered by Google App Engine
This is Rietveld 408576698