Make <noscript> inline when displayed. Bug 230616, r+sr=dbaron

git-svn-id: svn://10.0.0.236/trunk@151405 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2004-01-16 03:05:00 +00:00
parent 4a497ce6d8
commit 186039170e
2 changed files with 2 additions and 2 deletions

View File

@@ -2327,7 +2327,7 @@ PresShell::SetPrefNoScriptRule()
nsCOMPtr<nsIDOMCSSStyleSheet> sheet(do_QueryInterface(mPrefStyleSheet,&rv));
NS_ENSURE_SUCCESS(rv, rv);
PRUint32 index = 0;
rv = sheet->InsertRule(NS_LITERAL_STRING("noscript{display:block}"), sInsertPrefSheetRulesAt, &index);
rv = sheet->InsertRule(NS_LITERAL_STRING("noscript{display:inline}"), sInsertPrefSheetRulesAt, &index);
NS_ENSURE_SUCCESS(rv, rv);
}
return NS_OK;