Index: Source/WebCore/rendering/RenderObjectChildList.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderObjectChildList.cpp (revision 96952) |
+++ Source/WebCore/rendering/RenderObjectChildList.cpp (working copy) |
@@ -431,6 +431,7 @@ |
RefPtr<RenderStyle> newStyle = RenderStyle::create(); |
newStyle->inheritFrom(pseudoElementStyle); |
newStyle->setDisplay(curr->style()->display()); |
+ newStyle->setStyleType(curr->style()->styleType()); |
curr->setStyle(newStyle); |
curr = curr->parent(); |
} |