Adding support for the widget tag to XUL.

This commit is contained in:
hyatt%netscape.com 1999-01-21 09:26:01 +00:00
parent 4672f50061
commit 32b7e34970
3 changed files with 6 additions and 0 deletions

View File

@ -1847,6 +1847,8 @@ HTMLStyleSheetImpl::ConstructXULFrame(nsIPresContext* aPresContext,
rv = NS_NewRadioControlFrame(aNewFrame);
else if (aTag == nsXULAtoms::text)
rv = NS_NewTextControlFrame(aNewFrame);
else if (aTag == nsXULAtoms::widget)
rv = NS_NewObjectFrame(aNewFrame);
}
// If we succeeded in creating a frame then initialize it, process its

View File

@ -1847,6 +1847,8 @@ HTMLStyleSheetImpl::ConstructXULFrame(nsIPresContext* aPresContext,
rv = NS_NewRadioControlFrame(aNewFrame);
else if (aTag == nsXULAtoms::text)
rv = NS_NewTextControlFrame(aNewFrame);
else if (aTag == nsXULAtoms::widget)
rv = NS_NewObjectFrame(aNewFrame);
}
// If we succeeded in creating a frame then initialize it, process its

View File

@ -1847,6 +1847,8 @@ HTMLStyleSheetImpl::ConstructXULFrame(nsIPresContext* aPresContext,
rv = NS_NewRadioControlFrame(aNewFrame);
else if (aTag == nsXULAtoms::text)
rv = NS_NewTextControlFrame(aNewFrame);
else if (aTag == nsXULAtoms::widget)
rv = NS_NewObjectFrame(aNewFrame);
}
// If we succeeded in creating a frame then initialize it, process its