Bug 27111

Summary: Webkit is unforgiving of missing Content-Type text/css for CSS pages
Product: WebKit Reporter: Will Thames <will>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Will Thames
Reported 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.
Attachments
Will Thames
Comment 1 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.
Mark Rowe (bdash)
Comment 2 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.
Note You need to log in before you can comment on or make changes to this bug.