Bug 27111 - Webkit is unforgiving of missing Content-Type text/css for CSS pages
Summary: Webkit is unforgiving of missing Content-Type text/css for CSS pages
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-09 03:14 PDT by Will Thames
Modified: 2009-07-09 23:34 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will Thames 2009-07-09 03:14:07 PDT
WebKit does not render pages correctly when the CSS page does not have a Content-Type: text/css header. 

While I realise this is also a bug at the server side, that the server should return a Content-Type: text/css header, given that the referring page has a link rel="stylesheet" type="text/css", I believe WebKit could be more forgiving.
Comment 1 Will Thames 2009-07-09 03:29:47 PDT
Not sure what the version is, but I have confirmed this bug today by downloading latest Google Chrome browser.
Comment 2 Mark Rowe (bdash) 2009-07-09 23:34:47 PDT
I believe that our behavior matches the relevant specifications.  If your page is in quirks mode, we'll happily load a stylesheet regardless of MIME type.  If your page is in strict mode, we require that stylesheets be served with the appropriate MIME type.