Propagate NS_FRAME_HAS_CHILD_WITH_VIEW to the area frame. b=276236 r=bzbarsky sr=dbaron

git-svn-id: svn://10.0.0.236/trunk@167195 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mats.palmgren%bredband.net
2005-01-03 07:27:11 +00:00
parent 88513c78dc
commit fc17bec870

View File

@@ -220,6 +220,9 @@ nsHTMLButtonControlFrame::ReParentFrameList(nsFrameManager* aFrameManager,
// now reparent the contexts for the reparented frame too
aFrameManager->ReParentStyleContext(frame, newParentContext);
}
// Set NS_FRAME_HAS_CHILD_WITH_VIEW on the area frame if needed, bug 276236.
mFrames.FirstChild()->AddStateBits(GetStateBits() & NS_FRAME_HAS_CHILD_WITH_VIEW);
}
PRBool