Fixing bug 96804 -- isReplaced is not set for object frames created with <embed> tag, patch by timkoogleblowsgoats@yahoo.com, r=peterl, sr=attinasi
This commit is contained in:
@@ -4875,6 +4875,7 @@ nsCSSFrameConstructor::ConstructFrameByTag(nsIPresShell* aPresShell,
|
||||
if (!aState.mPseudoFrames.IsEmpty()) { // process pending pseudo frames
|
||||
ProcessPseudoFrames(aPresContext, aState.mPseudoFrames, aFrameItems);
|
||||
}
|
||||
isReplaced = PR_TRUE;
|
||||
rv = NS_NewObjectFrame(aPresShell, &newFrame);
|
||||
}
|
||||
else if (nsHTMLAtoms::fieldset == aTag) {
|
||||
|
||||
Reference in New Issue
Block a user