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

VERIFIED INVALID

Status

()

Core
HTML: Parser
VERIFIED INVALID
14 years ago
14 years ago

People

(Reporter: Sascha Wolf, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

14 years ago
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
Last Resolved: 14 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.