W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

Is it a bug ?

From: Sebastien Bardoux <seb@netcrawling.com>
Date: Thu, 27 Jul 2000 11:29:16 -0400 (EDT)
To: <html-tidy@w3.org>
Message-ID: <GPEKIHAJFIOHGOIMEGDAIEDLCAAA.seb@netcrawling.com>
I'm using your tidy for compute some html web pages and i have encountered a
page
like the following page

Here is an html page :

<HTML>
<HEAD>
</HEAD>
<SCRIPT>
<!--
function notInMyHeader() {
	document.write("I'AM NOT IN THE HEADER");
}
// -->
</SCRIPT>

<FRAMESET>
	<FRAME src="myImportFrame">
</FRAMESET>

</HTML>


My problem is that the frameset is deleted because a <body> is inserted
to encapsulate <SCRIPT> and frameset is not allowed in this <body>.

Tidy should not move the script into <HEAD>
And consider the document as a frameset document ?

Thanks for attention.



Sébastien Bardoux
Company: Netcrawling
Mail: seb@netcrawling.com
Received on Friday, 28 July 2000 13:51:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT