WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
27111
Webkit is unforgiving of missing Content-Type text/css for CSS pages
https://bugs.webkit.org/show_bug.cgi?id=27111
Summary
Webkit is unforgiving of missing Content-Type text/css for CSS pages
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug