DESCRIPTION: Linked scripts do not work for documents using the strict DTD. It seems the problem is that the attributes of the SCRIPT element are not included in the content model. STEPS TO REPRODUCE: * load attached test case ACTUAL RESULTS: * nothing EXPECTED RESULTS: * alert box with "hello" comes up 4 times (won't work in viewer - will see errors instead) BUGGY ON: * Win98 mozilla 2000-06-15-08-M17 * Linux mozilla 2000-06-15, pull around 09:00 PDT WORKS CORRECTLY ON: * NN 4.x Win98 ADDITIONAL INFORMATION: Nominating nsbeta2. Linked scripts not working is serious.
Hmm, sure enough -- let's see why.
Fixed in my tree. My code was passing the wrong node to the block handler in the strictDTD. I verified that this works correctly for other elements that are handled the same way (textarea, style, script, title). For bug marking purposes, this isn't a regression -- since the strict DTD is new code.
One can also see it as a regression caused by the turning on of the Strict DTD.
Marking nsBeta2, since this is data loss (I'm sure phil/jan would agree -- and if not they can yell at me when I get back in August).
Fixed by my last update.
Verified 2000-07-17-13-M17 : Linux 2000-07-17-09-M17 : WinNT & Win98 2000-07-13-08-M17 : Mac