Bug 7381

Summary: Missing stylesheets pages render the ErrorDocument's stylesheet instead
Product: WebKit Reporter: Christos Zisopoulos <czisopoulos>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Major CC: ap, ian
Priority: P2    
Version: 417.x   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
test case none

Christos Zisopoulos
Reported 2006-02-20 04:41:09 PST
Assume the folowing snippet of code in the header of an HTML page. <link href="/stylesheets/global.css" media="screen" rel="Stylesheet" type="text/css" /> <link href="/stylesheets/scaffold.css" media="screen" rel="Stylesheet" type="text/css" /> If one of the stylesheets is missing and the server returns a 404 error page with a stylesheet, Safari goes ahead and renders the original page but with the styles from the <style/> tag of the 404 page. In my tests this happens when developing with Ruby on Rails 1.0.0 MAX (so lighthttpd 1.4.x) but the server is not to blame, as it reports the correct MIME type of text/html.
Attachments
test case (1.79 KB, application/zip)
2006-07-28 06:11 PDT, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2006-07-28 06:11:33 PDT
Created attachment 9739 [details] test case I cannot reproduce this issue with the attached test.
Alexey Proskuryakov
Comment 2 2006-10-25 13:15:38 PDT
Closing as INVALID, since the problem is not reproducible. Please re-open it if you have additional information that could help us reproduce it.
Alexey Proskuryakov
Comment 3 2007-09-20 02:07:12 PDT
This has been reported again as bug 15242 - this time, with a reproducible test case.
Note You need to log in before you can comment on or make changes to this bug.