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

Bug: Multiple body elements in noframes

From: Randy Waki <rwaki@flipdog.com>
Date: Sun, 20 Aug 2000 18:08:51 -0600
To: <html-tidy@w3.org>, <dsr@w3.org>
Message-ID: <000001c00b03$fc8e3740$51eee13f@rwaki>
4-Aug-2000 Tidy allows multiple body elements in a noframes element, and
in fact it will add extra body elements to contain out-of-place content.
If I'm interpreting the HTML 4 spec correctly, multiple bodies are not
allowed in a noframes element.

I didn't attempt a fix because, as far as I know, none of my browsers
will display the noframes content, so I'm not sure how it should be
tidied.

------------------------ Example HTML document -------------------------
<html>
  <head><title></title></head>
  <frameset>
    <frame>
    <noframes>
      <body>
        Text in body 1.
      </body>
      <body>
        Text in illegal body 2.
      </body>
      Text in inferred illegal body 3.
    </noframes>
  </frameset>
</html>
Text in inferred illegal body 4.
------------------------------------------------------------------------

Randy
Received on Sunday, 20 August 2000 20:10:08 GMT

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