mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Adding support for the widget tag to XUL.
This commit is contained in:
parent
4672f50061
commit
32b7e34970
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user