W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

(unknown charset) Re: Question about Font Dropping

From: (unknown charset) Dave Raggett <dsr@w3.org>
Date: Mon, 4 Oct 1999 12:14:19 +0100 (GMT Daylight Time)
To: (unknown charset) Darren Forcier <dforcier@allaire.com>
cc: (unknown charset) "'html-tidy@w3.org'" <html-tidy@w3.org>
Message-ID: <Pine.WNT.4.10.9910041202560.620-100000@OEMCOMPUTER>
On Mon, 27 Sep 1999, Darren Forcier wrote:

> I'm finding the following document run through Tidy (both 7/26
> and 9/27 releases) seems to drop the font tags regardless of
> whether the configuration file setting Drop Font Tags is turned
> on or off. I have Convert to CSS turned on, but no CSS is
> generated.   If I run it through Tidy once with Convert To CSS
> off though, the Font tag is preserved. Then I can turn Convert
> to CSS back on, run it once more, and the CSS is generated and
> replaces the font perfectly. Here is the progression.

Tidy's AdjustConfig() routine attempts to ensure that the config
options are self-consistent. If you have enabled drop-font-tags, or
logical-emphasis, then Tidy will (currently) automatically enable
the clean option. It's possible that in you example the removal of
the font tags also removed the need for a style rule. I will
investigate this further. Thanks for the examples.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
phone: +44 122 578 2984 (or 2521) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Monday, 4 October 1999 07:15:21 GMT

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