made type optional on linked style sheets

git-svn-id: svn://10.0.0.236/trunk@12707 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com
1998-10-13 19:11:42 +00:00
parent 5822084a51
commit 12b4734f6d
2 changed files with 2 additions and 2 deletions

View File

@@ -2005,7 +2005,7 @@ HTMLContentSink::ProcessLINKTag(const nsIParserNode& aNode)
NS_RELEASE(sco);
if (rel.EqualsIgnoreCase("stylesheet")) {
if (type.EqualsIgnoreCase("text/css")) {
if ((0 == type.Length()) || type.EqualsIgnoreCase("text/css")) {
nsIURL* url = nsnull;
nsIUnicharInputStream* uin = nsnull;
nsAutoString absURL;