Closed
Bug 646
Opened 26 years ago
Closed 26 years ago
<noscript> tag not respected
Categories
(Core :: Layout, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: buster, Assigned: buster)
References
()
Details
we should not display any document content within the <noscript> tag when
javascript is enabled. we should probably handle this like we would a comment,
so we can recreate the original HTML if necessary (like an editor would need to)
I think this bug is a content sink problem. It appears as though the parser
is correctly emitting both the <script> and <noscript> containers. The content
sink should choose to render one or the other.
Here's a reduced case:
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--
now = new Date();
my_random = now.getTime();
function print_tag()
{
document.write("<a
href='http://206.34.3.53/dmnmedia/click.cgi/www.hardradio.com/Homepage.html/" +
my_random + "'target=new_window>");
document.write("<img
src='http://206.34.3.53/dmnmedia/ad.cgi/www.hardradio.com/Homepage.html/" +
my_random + "' border=0 width=468 height=60></A>");
}
//-->
</SCRIPT>
</HEAD>
<body bgcolor="#000000" TEXT="#ff0000" link="#ff0000" vlink="202020"
alink="#ff0000">
CELEBRATING THREE DECADES OF HARD ROCK HERITAGE 1968 - 1998
<p>
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--
print_tag();
//-->
</SCRIPT>
<noscript>
<img src="http://206.34.3.53/dmnmedia/ad.cgi/www.hardradio.com/Homepage.html/1"
border=0 width=468 height=60>
<img src="images/noscript.gif" height=1 width=1>
</noscript>
<TABLE BORDER=0>
<TR>
<TD WIDTH="260" ALIGN=CENTER>
The First And Only Online Radio Station
</TD>
</TR>
</TABLE>
</body>
</html>
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Component: Unknown → Layout
Resolution: --- → FIXED
NOSCRIPT is now "display: none" in the ua.css (and has been for awhile)
You need to log in
before you can comment on or make changes to this bug.
Description
•