// If we've got a UserStyleSheet, convert it to a StyleSheetNode and
// add it to the end of the list (highest precedence)
if (includeUserStyleSheet)
{
UserStyleSheet userStyleSheet =
UserStyleSheet.getUserStyleSheet(context);
if (userStyleSheet != null)
{
StyleSheetNode[] tmpSheets =
new StyleSheetNode[styleSheets.length + 1];