Closed Bug 15412 Opened 25 years ago Closed 25 years ago

Stray </NOSCRIPT> confuses parser

Categories

(Core :: DOM: HTML Parser, defect, P3)

Other
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 15346

People

(Reporter: olaf, Assigned: rickg)

References

()

Details

The page above comes up blank in build #1999082316. (It seems to have worked
some days ago, but unfortunately they also changed the page layout, so I am not
sure.)
The page contains a JS script which emits some document stuff and <NOSCRIPT>,
followed by replacement text and </NOSCRIPT>, like this:

--cut--

<!-- Add-Ad Start -->
<CENTER>
<IFRAME...>
<SCRIPT><!--
document.write("stuff for use with JS <NOSCRIPT>");
//--></SCRIPT>
stuff for use without JS
</NOSCRIPT>
</IFRAME>
</CENTER>
<!-- Add Ad End -->

--cut--

Now the parsing seems to get confused by the single </NOSCRIPT> in the HTML.
The DOM viewer shows as last recognized node the first "Add-Ad Start" comment,
so it could even be an interaction with the IFRAME.

Of course the whole HTML construct is rather questionable, but when I remove
the </NOSCRIPT> tag it works.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 15346 ***
Status: RESOLVED → VERIFIED
verified
You need to log in before you can comment on or make changes to this bug.