Chromium Code Reviews| 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(); } |
|
Julien - ping for review
2013/06/27 22:49:00
Won't this break everything by making backdrop a s
falken
2013/06/28 08:06:52
Hm, I was thinking of ::backdrop as a standalone t
|
| virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |
| bool hasPendingResources() const; |