Closed Bug 45555 Opened 21 years ago Closed 21 years ago
SCRIPT in BODY doesn't work when strict dtd is used
Steps to reproduce: 1. Launch Mozilla. 2. Navigate to the following testcase. Actual result: An alert doesn't popup. Expected result: An alert should popup. Occurs on: 2000071420 nightly on Windows 2000. Strict dtd allows SCRIPT in BODY. ( http://www.w3.org/TR/html4/strict.dtd ) |<!ELEMENT BODY O O (%block;|SCRIPT)+ +(INS|DEL) -- document body -->
BODY should be able to contain SCRIPT ( per spec. ). There is not excuse for not following the spec. We have to fix this problem for beta3. IT IS MUST.
Assignee: rickg → harishd
If script is external, it is not ignored, but incorrect. Here is a testcase. http://homepage1.nifty.com/emk/moz/script.html - "text2" is drawn, then "text1" is drawn and "text2" disappears. http://homepage1.nifty.com/emk/moz/script-quirks.html - "text1" and "text2" is drawn.
External JS problem will get resolved if I combine the above patch with the patch in bug 44285. Cause: Block error message ( sent by the script engine on loading an external JS ) got lost in COtherElements.h.
Status: NEW → ASSIGNED
Whiteboard: Fix in hand
Trivial fix for a relatively serious problem. Marking nsbeta3+.
Whiteboard: Fix in hand → [nsbeta3+][Fix in hand]
Fix is in. Marking FIXED.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Verified fixed using 2000082104 nightly build on Windows 2000.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.