[Webkit-unassigned] [Bug 15242] Improperly Linked CSS document (404) still loads contained styles

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 21 10:53:33 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=15242





------- Comment #6 from mark.larson at gmail.com  2007-12-21 10:53 PDT -------
Created an attachment (id=18035)
 --> (http://bugs.webkit.org/attachment.cgi?id=18035&action=view)
Another test case for interpreting styles in a 404 page

I confirmed this on Windows (Safari 3.0.4 523/13). I created a test case before
finding this bug already filed. I've attached it FWIW (it uses a span.nav
instead of an A, so it doesn't depend on your visited link history).

Curiously, the body{} style in the 404 response does not seem to get applied.
Google's 404 reponse contains

<style><!--
body {font-family: arial,sans-serif}
div.nav {margin-top: 1ex}
div.nav A {font-size: 10pt; font-family: arial,sans-serif}
span.nav {font-size: 10pt; font-family: arial,sans-serif; font-weight: bold}
div.nav A,span.big {font-size: 12pt; color: #0000cc}
div.nav A {font-size: 10pt; color: black}
A.l:link {color: #6f6f6f}
A.u:link {color: green}
//--></style>

I haven't tested all the rules, but I've confirmed that span.nav gets applied
but body does not.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list