When trying to access www.host41.com, nothing is rendered - page is blank (except for the <title> of the page, at the top of the window). When you go to "View Source" in Safari, the HTML markup is there. In other browsers (mainly Gecko-based ones) the website loads fine. Someone on IRC noted that it is missing a </script> tag, and that is probably why, but I thought maybe this bug report would help maintain compatibility with Mozilla-based browsers.
Created attachment 8779 [details] Webarchive of original revision for the website The webmaster has changed the site to fix a Javascript error, that caused it to not render correctly. I'm attaching a webarchive of the original version. You can keep the bug open if you still want to use it to help maintain Gecko compatibility.
See also Bug 3905 and Bug 6314.
I'm inclined to go even further, i'd guess that any unclosed tag in the head SHOULD be closed on head close, amd that the three bugs about unclosed <style>, <script> and <title> are in fact dupes of the same problem.
(In reply to comment #3) > I'm inclined to go even further, i'd guess that any unclosed tag in the head > SHOULD be closed on head close, amd that the three bugs about unclosed <style>, > <script> and <title> are in fact dupes of the same problem. On the surface it looks that way, but it's a little more complex than this. Each tag has its own handling code and thus must be special-cased. Also when the tag appears in the <head>, this is a different code path than when the tag appears in the <body>. I got stuck a couple months ago on Bug 3905 and Bug 6314 when someone found a page in production that cause the tokenizer (and parser?) to "run out" of HTML to process while a page was loading, but only because the network couldn't feed the tokenizer/parser fast enough. I need a reproducible test case for this condition before I can fix the bug, and it's going to have to be an http test. I was also hoping that not looking at the tokenizer/parser code for a couple months would give me some fresh ideas when I went back to it.
(In reply to comment #1) > Created an attachment (id=8779) [edit] > Webarchive of original revision for the website Alex, could you upload the HTML source of the original web site? The webarchive file doesn't contain the full, original HTML document.
Created attachment 8787 [details] Original source (No </script> in <head> javascript) I didn't have a copy of the original source, but I talked with the webmaster and he said that he just moved the script to the bottom of <body> and added </script>.
What does HTML5 say about this?
Script is only closed by </script> or EOF, for security reasons.
This matches HTML5 behavior. Closing as RESOLVED/INVALID. See Comment #8.