[Webkit-unassigned] [Bug 6314] Empty style element in header makes page completely blank

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Dec 31 11:26:38 PST 2005


http://bugzilla.opendarwin.org/show_bug.cgi?id=6314


macdome at opendarwin.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




------- Additional Comments From macdome at opendarwin.org  2005-12-31 11:26 -------
The problem here is that you're sending this "valid xhtml 1.0" file as text/html from your server.  <style /
> is interpreted as an unclosed <style> by the html parser (/ is ignored as an invalid attribute).  WebKit 
has trouble with unclosed tags in the <head> it seems (there is another similar bug on an unclosed 
<title> causing a blank page).  IF you were to actually vend this file as xhtml from your server, it would 
display fine (as you see in the second copy of your test case, now attached).

So this is a bug in two places.  1.  your server is misconfigured (as are most on the web), or rather, you've 
named the file .html when it really shoudl be .xhtml on your server.  2.  there seems to be a bug in WebKit 
where we don't recover from an unclosed <style> tag in html.

We'll keep this bug to track the unclosed <style> tag behavior.

-- 
Configure bugmail: http://bugzilla.opendarwin.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