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

7-Jul-99 bug: <tr> without <td> is deleted

From: Randy Waki <rwaki144@whizbanglabs.com>
Date: Mon, 26 Jul 1999 11:32:22 -0600
To: "HTML Tidy Mailing List" <html-tidy@w3.org>
Message-ID: <000001bed78c$d1d011a0$ce9946a6@rwaki>
I hope I'm not misinterpreting something here.  The HTML document below
contains a paragraph element in a table row without an enclosing table cell.
7-Jul-99 Tidy deletes the unexpected paragraph element.  The release notes
indicate that as of 2-Jul-99, the paragraph element should be moved to just
before the table to mimic Netscape's and IE's behavior.  This seems to
happen with any content, not just paragraph elements.

-------- Example HTML document --------
<html>
  <head>
    <title>t</title>
  </head>
  <body>
    <table border="1" summary="s">
	  <tr><td><p>Has cell</p></td></tr>
      <tr><p>No cell</p></tr>
    </table>
  </body>
</html>
---------------------------------------

Thanks,
Randy
Received on Monday, 26 July 1999 13:33:20 GMT

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