| Index: Source/core/dom/Element.h
|
| diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
|
| index 521ff69970b4afc6536379ca8139f1a627f4ca24..36ed8770d386b244d295295024442febd4332af0 100644
|
| --- a/Source/core/dom/Element.h
|
| +++ b/Source/core/dom/Element.h
|
| @@ -573,7 +573,7 @@ public:
|
| virtual bool isDisabledFormControl() const { return false; }
|
|
|
| bool isInert() const;
|
| - virtual bool shouldBeReparentedUnderRenderView(const RenderStyle*) const { return isInTopLayer(); }
|
| + virtual bool shouldBeReparentedUnderRenderView(const RenderStyle*) const { return pseudoId() == BACKDROP || isInTopLayer(); }
|
|
|
| virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const;
|
| bool hasPendingResources() const;
|
|
|