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

7-Jul-99 bug: <dir> containing unterminated <li>'s

From: Randy Waki <rwaki144@whizbanglabs.com>
Date: Thu, 22 Jul 1999 18:30:19 -0600
To: "HTML Tidy Mailing List" <html-tidy@w3.org>
Message-ID: <000401bed4a2$8b0391d0$ce9946a6@rwaki>
The HTML document below has an obsolete <dir> containing a list of
unterminated <li>'s.  7-Jul-99 Tidy incorrectly transforms the second and
subsequent <li>'s into children of the first <li>.  This appears to be a
regression error since 14-Apr-99 Tidy correctly made all <li>'s siblings.

    14-Apr-99 output           7-Jul-99 output
    ----------------           ---------------
    ...                        ...
    <dir>                      <dir>
    <li>item 1</li>            <li>item 1
                               <ul>
    <li>item 2</li>            <li>item 2</li>
    <li>item 3</li>            <li>item 3</li>
                               </ul>
                               </li>
    </dir>                     </dir>
    ...                        ...

-------- Example HTML document --------
<html>
  <head>
    <title>x</title>
  </head>
  <body>
    <dir>
      <li>item 1
      <li>item 2
      <li>item 3
    </dir>
  </body>
</html>
---------------------------------------

Randy
Received on Thursday, 22 July 1999 20:30:55 GMT

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