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

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

Issue 2471283004: [css-grid] Fix simplified layout of positioned grid items (Closed)
Patch Set: Created 4 years, 1 month 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.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h
index 6058995f0636aa0ada54bb94a91b316d4f0c2cf9..6967f0655b2abc3b531e3629c339eb8ab47f4f9a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h
@@ -358,8 +358,9 @@ class CORE_EXPORT LayoutBlock : public LayoutBox {
ForcedLayoutAfterContainingBlockMoved
};
- void layoutPositionedObjects(bool relayoutChildren,
- PositionedLayoutBehavior = DefaultLayout);
+ virtual void layoutPositionedObjects(
mstensho (USE GERRIT) 2016/11/04 08:49:12 This shouldn't be necessary.
Manuel Rego 2016/11/04 09:29:17 Mmmm, we need that LayoutGrid::layoutPositionedObj
mstensho (USE GERRIT) 2016/11/04 09:47:34 Duh, no. *I* was missing something. Sorry. This ne
+ bool relayoutChildren,
+ PositionedLayoutBehavior = DefaultLayout);
void markFixedPositionObjectForLayoutIfNeeded(LayoutObject* child,
SubtreeLayoutScope&);
@@ -421,7 +422,7 @@ class CORE_EXPORT LayoutBlock : public LayoutBox {
virtual bool hasLineIfEmpty() const;
- bool simplifiedLayout();
+ virtual bool simplifiedLayout();
mstensho (USE GERRIT) 2016/11/04 08:49:12 Ditto.
Manuel Rego 2016/11/04 09:29:17 True for this case, actually as @cbiesinger sugges
virtual void simplifiedNormalFlowLayout();
public:

Powered by Google App Engine
This is Rietveld 408576698