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

Unified Diff: Source/core/dom/Node.cpp

Issue 18080016: [CSS Regions] Elements in a region should be assignable to a named flow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed failing test (fullscreen issue), added SVG test Created 7 years, 6 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
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/NodeRenderingContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index 6814c96b974c7e534a18b5ae7e3611e8e49e6477..adb586a6d6b8af3460243e730448cd293470431d 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -82,6 +82,7 @@
#include "core/page/Page.h"
#include "core/page/Settings.h"
#include "core/platform/Partitions.h"
+#include "core/rendering/FlowThreadController.h"
#include "core/rendering/RenderBox.h"
#include "wtf/HashSet.h"
#include "wtf/PassOwnPtr.h"
@@ -1193,6 +1194,11 @@ bool Node::canStartSelection() const
return parentOrShadowHostNode() ? parentOrShadowHostNode()->canStartSelection() : true;
}
+bool Node::isRegisteredWithNamedFlow() const
+{
+ return document()->renderView()->flowThreadController()->isContentNodeRegisteredWithAnyNamedFlow(this);
+}
+
Element* Node::shadowHost() const
{
if (ShadowRoot* root = containingShadowRoot())
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/NodeRenderingContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698