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

MORE: tidy's handling of <noscript>

From: Paul <valen@nic.com>
Date: Sun, 19 Aug 2001 12:55:22 -0400
Message-ID: <000d01c128cf$bd49db80$563c8dcc@8g69901>
To: <html-tidy@w3.org>
Hi All,

I've looked more closely at this and here's what I'm seeing:

<noscript> is illicit contents for <head>.  So...it makes sense that tidy
moves it from <head> to <body>.  But there does appear to a bug, to wit,
once an illicit <head> element is found, everything (licit or no) from that
element onward to the </head> (except <title>) is moved within <body>.  So,
a <p> tag, illicit in <head> followed by a licit <script>...</script>
sequence, will cause both the <p> and the <script>...</script> to be moved
within body.

Also, once an illicit <head> element is detected, tidy insists on generating
its own <title> element, even if there already is one.


Received on Sunday, 19 August 2001 12:50:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:50 UTC