Adding support for the widget tag to XUL.

This commit is contained in:
hyatt%netscape.com 1999-01-21 09:26:01 +00:00
Родитель 4672f50061
Коммит 32b7e34970
3 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -1847,6 +1847,8 @@ HTMLStyleSheetImpl::ConstructXULFrame(nsIPresContext* aPresContext,
rv = NS_NewRadioControlFrame(aNewFrame); rv = NS_NewRadioControlFrame(aNewFrame);
else if (aTag == nsXULAtoms::text) else if (aTag == nsXULAtoms::text)
rv = NS_NewTextControlFrame(aNewFrame); 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 // If we succeeded in creating a frame then initialize it, process its

Просмотреть файл

@ -1847,6 +1847,8 @@ HTMLStyleSheetImpl::ConstructXULFrame(nsIPresContext* aPresContext,
rv = NS_NewRadioControlFrame(aNewFrame); rv = NS_NewRadioControlFrame(aNewFrame);
else if (aTag == nsXULAtoms::text) else if (aTag == nsXULAtoms::text)
rv = NS_NewTextControlFrame(aNewFrame); 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 // If we succeeded in creating a frame then initialize it, process its

Просмотреть файл

@ -1847,6 +1847,8 @@ HTMLStyleSheetImpl::ConstructXULFrame(nsIPresContext* aPresContext,
rv = NS_NewRadioControlFrame(aNewFrame); rv = NS_NewRadioControlFrame(aNewFrame);
else if (aTag == nsXULAtoms::text) else if (aTag == nsXULAtoms::text)
rv = NS_NewTextControlFrame(aNewFrame); 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 // If we succeeded in creating a frame then initialize it, process its