if (!mimeType.IsEmpty() && !mimeType.EqualsIgnoreCase("text/css")) {
if (!mimeType.IsEmpty() && !mimeType.LowerCaseEqualsLiteral("text/css")) {
nsHTMLStyleElement::GetStyleSheetInfo(nsAString& aTitle,                                      nsAString& aType,                                      nsAString& aMedia,                                      PRBool* aIsAlternate){  aTitle.Truncate();  aType.Truncate();  aMedia.Truncate();  *aIsAlternate = PR_FALSE;  nsAutoString title;  GetAttr(kNameSpaceID_None, nsHTMLAtoms::title, title);  title.CompressWhitespace();  aTitle.Assign(title);  GetAttr(kNameSpaceID_None, nsHTMLAtoms::media, aMedia);  ToLowerCase(aMedia); // HTML4.0 spec is inconsistent, make it case INSENSITIVE  GetAttr(kNameSpaceID_None, nsHTMLAtoms::type, aType);  nsAutoString mimeType;  nsAutoString notUsed;  nsParserUtils::SplitMimeType(aType, mimeType, notUsed);  if (!mimeType.IsEmpty() && !mimeType.EqualsIgnoreCase("text/css")) {    return;  }  // If we get here we assume that we're loading a css file, so set the  // type to 'text/css'  aType.Assign(NS_LITERAL_STRING("text/css"));  return;}