Index: Source/core/css/resolver/StyleResolver.cpp |
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp |
index 2e4f815fdafa82d535bc8b7ca0709b9fd968bfef..cc4888d49323c1f56095f0ba0e55cd765936371a 100644 |
--- a/Source/core/css/resolver/StyleResolver.cpp |
+++ b/Source/core/css/resolver/StyleResolver.cpp |
@@ -733,7 +733,7 @@ PassRefPtrWillBeRawPtr<PseudoElement> StyleResolver::createPseudoElementIfNeeded |
if (pseudoId == FIRST_LETTER && (parent.isSVGElement() || !FirstLetterPseudoElement::firstLetterTextRenderer(parent))) |
return nullptr; |
- if (!parentRenderer->canHaveGeneratedChildren()) |
+ if (pseudoId != BACKDROP && !parentRenderer->canHaveGeneratedChildren()) |
esprehn
2015/02/20 06:23:45
The parentRenderer for BACKDROP should be the Rend
|
return nullptr; |
RenderStyle* parentStyle = parentRenderer->style(); |