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

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

Issue 2582363002: [css-grid] Fix positioning of positioned grid children (Closed)
Patch Set: Patch for landing 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-paint-positioned-children-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-paint-positioned-children-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698