Index: Source/core/dom/Element.h |
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
index bb7c9eabd1c0cb68b2850f0abf782706237ff3c6..60b634f563c1e9a25db9c9db5cec8e599176e55f 100644 |
--- a/Source/core/dom/Element.h |
+++ b/Source/core/dom/Element.h |
@@ -554,6 +554,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; |