if you have code like document.write('</script>'); the tag is seen as the end of the current script, in the middle of the string then you see garbage in the page "') //-->" kind of thing, look under the "today's space facts" button
This is just wrong. Netscape 4.7x for linux (tested with values of 0,1 and 2 for x, do not seem to show this behaviour.
I'm not sure what you're seeing, but this testcase performs the same in NS4.x, IE, and Mozilla. If you're seeing something else, please provide a better description.
Created attachment 6753 [details] here are proofs (screen captures) from Ie 5, mozilla and netscape 4.72 (Linux)
Correct behaviour. Vfy use document.write('</SCR','IPT>');
*** Bug 221898 has been marked as a duplicate of this bug. ***
*** Bug 225534 has been marked as a duplicate of this bug. ***
*** Bug 238139 has been marked as a duplicate of this bug. ***
*** Bug 248959 has been marked as a duplicate of this bug. ***
*** Bug 256153 has been marked as a duplicate of this bug. ***
*** Bug 285147 has been marked as a duplicate of this bug. ***
*** Bug 288146 has been marked as a duplicate of this bug. ***
HTML parser is not supposed to understand syntax other than (X)HTML. Use external js file and everything solved. This bug is already marked as INVALID so don't put any more comment on it unless it is really really necessary.
Yeah, I can't believe it. 13 years and 16 times reported and still unfixed!!
In that case, I think you should try to make your point using the w3c mailing list (http://lists.w3.org/Archives/Public/public-html/). - At worst, the members will be able to explain much better than I what constraints makes your proposition hard to specify/implement - If your position is found sufficiently interesting, you may trigger an evolution in the HTML spec, which in turn would be swiftly implemented in Firefox. (with the added advantage that other browsers would be compelled to comply) Regards, MR
I actually downloaded the SDKs from Microsoft. Unfortunately, neither the Windows 7 SDK nor the Direct X SDK will install on my system. I use Windows XP. According to Microsoft - both of these should install without a problem - but they do not. I'm going to have to find a Windows XP SDK and Direct X SDK for Windows XP so I can then download the source code and look at it. But I will go check out the w3c location as well. Thanks! :-)