mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-22 20:34:01 +00:00
made type optional on linked style sheets
This commit is contained in:
parent
3e2cfb20c5
commit
32c0a6bc30
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user