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

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

Issue 2450093005: Support display: contents for elements, first-line and first-letter pseudos. (Closed)
Patch Set: Allow text as child of the LayoutView, since it can happen with display: contents 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/LayoutView.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
index bc8de18dead2c094a7a51102ceaa2067c82e9a77..294dd909a02a43731324d51bd3a9f70f96d11d76 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
@@ -183,11 +183,6 @@ void LayoutView::updateLogicalWidth() {
setLogicalWidth(LayoutUnit(viewLogicalWidthForBoxSizing()));
}
-bool LayoutView::isChildAllowed(LayoutObject* child,
- const ComputedStyle&) const {
- return child->isBox();
-}
-
void LayoutView::layoutContent() {
ASSERT(needsLayout());

Powered by Google App Engine
This is Rietveld 408576698