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

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

Issue 2582363002: [css-grid] Fix positioning of positioned grid children (Closed)
Patch Set: Improved test v2 Created 4 years 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/LayoutGrid.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
index 6aed9bbb19ad6c2026681eb1077fc704050868bc..ac08e774401aa3279283f0381f9c7d4476ba68f9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
@@ -2612,9 +2612,6 @@ void LayoutGrid::layoutPositionedObjects(bool relayoutChildren,
return;
for (auto* child : *positionedDescendants) {
- if (!child->needsLayout())
- continue;
-
if (isOrthogonalChild(*child)) {
// FIXME: Properly support orthogonal writing mode.
continue;

Powered by Google App Engine
This is Rietveld 408576698