On Mon, Oct 03, 2005 at 03:19:28PM +0200, Wichert Akkerman <[EMAIL PROTECTED]> wrote: > Package: mozilla-firefox > Version: 1.0.6 > Severity: important > > I have a standards compliant XHTML 1.0 transitional page which has an > empty script element which looks like this: > > <script type="text/javascript" src="product_tools.js"/> > > firefox processes that element correctly but will ignore the element > immediately succeeding it. A fun example: > > <script type="text/javascript" src="product_tools.js"/> > </head> > <body> > .. normal page content > > will make firefox ignore the </head> element and as a result show an > empty page. Rewriting the html to this: > > <script type="text/javascript" src="product_tools.js"></script> > > is a workaround for this problem.
Are you accessing the file from you local hard drive (file:...) or from a web server ? In the first case, name your file .xhtml and you won't see the problem, in which case the bug could be renamed something like "please use doctype from local .html files to use quirks mode or not" and pushed wishlist. In the latter case, first check in the Page Information dialog if you are in standards mode or quirks mode. Cheers, Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

