Closed Bug 251929 Opened 20 years ago Closed 20 years ago

Mozilla will not interpret the type attribut from LINK Tag (PHP/CSS)

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: swolf, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: 

I link to per <LINK REL="Stylesheet" TYPE="text/css" href="./global.php">. I 
open a PHP-Script as css-file for dynamic css-datas. So Mozilla will not 
interpret the output from by PHP Script as CSS-Data. I must send extra a header 
in my PHP File was set the type to text/css

Reproducible: Always
Steps to Reproduce:
1. create a php-script as css-file
2. link this per <LINK> Tag
3. Show the result ;)

Actual Results:  
CSS is not interpreted
CSS files must have a content type of text/css. HTTP headers override type
attributes.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Verified.  The HTML spec _explicitly_ says the type attribute is just advisory.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.