Index: Source/core/dom/Element.h |
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
index e2a2b1b8f7d994aab87cef43d1404dde06cea2c5..cd7b6358d30372ad8eb577e81f5242e4c7bc688f 100644 |
--- a/Source/core/dom/Element.h |
+++ b/Source/core/dom/Element.h |
@@ -559,6 +559,7 @@ public: |
virtual bool isDisabledFormControl() const; |
bool isInert() const; |
+ virtual bool isReparentedByRenderView(const RenderStyle*) const { return isInTopLayer(); } |
#if ENABLE(SVG) |
virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |