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: Wed, 16 Feb 2000 03:05:36 +0100
To: <html-tidy@w3.org>
Message-ID: <B4CFC041.11A2%subotnik@gmx.de>
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 Tuesday, 15 February 2000 21:05:40 GMT

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