W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

Re: New bug in Tidy?

From: Michael Nahrath <subotnik@gmx.de>
Date: Fri, 24 Mar 2000 11:45:46 -0600
To: <html-tidy@w3.org>
Message-ID: <OF0223CDE5.85FC8B33-ON86256887.000B987E@rfdinc.com>

Dave Raggett <dsr@w3.org> schrieb am 15.02.2000 14:49 :

> My apologies for not having made this behavior clear in the
> documentation. An <li> element without an enclosing list (ul or ol)
> element is an error and gets reported to the user. Originally, it
> was corrected by wrapping a ul element around it, however this
> caused the page to look quite different from how it would have
> looked in Netscape prior to being tidied. By experiment I found that
> using the style property to negatively indent the bullet gave a good
> semblance of the original rendering. The style attribute will be
> ignored by old browsers.

No Dave, please do not such things.

When it comes on cleaning presentational markup done by abuse of
HTML-elements translating to CSS results in illogical markup.

Some authors use BLOCKQUOTE or invalid lists to create margins.

Did you think about replacing all BLOCKQUOTE-elements by
<span style="margin-left:2em">?

No!

The job to bring back structural markup to the mess must be done by the
author and he has to _understand_ what is the difference.

Only possible use for "enhanced autocleaning":
Maybe if you know about certain bugs in special word-processors or editors
you may revert these.

Greeting, Michi
--
<http://nahrath.de/michael/>
Received on Friday, 24 March 2000 12:46:34 GMT

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