[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: 2.0.3 - bug or feature

On Thu, 14 Sep 2000, Denis Barbier wrote:

> > I'm not completely sure, about this, because <table summary="">
> > isn't defined in HTML 3.2 but only in HTML 4, which results in the
> > effect, that tidy converts my DOCTYPE entry from
> > 
> > 
> > to
> > 
> > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

> and a tidy's bug?
> I can't see why tidy change the doctype when it exists.

tidy tries to convert a HTML document to something which is standard
compliant.  The summary attribute of the table tag isn't defined in
HTML 3.2, so the logical consequence is to either remove this
attribute or to change the DOCTYPE to something which does support
this attribute.

> What about adding ALT="" in IMG tags?

I'm not sure, whether _automatically_ adding ALT="" is a good idea,
because if I want to give an ALT attribute, I do so (for example when
using a transparent 1x1 GIF ALT="" usually is a good idea because on a
non graphic browser I do not want any information about this GIF
shown), but if I do not explicitly enter an ALT attribute this usually
means, that I simply _forgot_ to enter it.  In this situation I prefer
a non graphic browser to show the image file name instead of nothing
(the latter may happen with an automatically added ALT="").

> Anyway, wml_p7_htmlfix has been entirely reorganized in WML 2.0.3 to
> allow more customization, i will finish this work in WML 2.0.4 and
> one could specify which fixups are on and off.

That is exactly what I was hoping, many thanks :-)



 * roland@spinnaker.de * http://www.spinnaker.de/ *
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com