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