W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2004

Re: Amaya 8.7-pre possible bug: img tag without alt attribute

From: Irene Vatton <irene.vatton@inrialpes.fr>
Date: Wed, 3 Nov 2004 09:58:58 +0100
To: Masayasu Ishikawa <mimasa@w3.org>
Cc: www-amaya@w3.org
Message-Id: <20041103095858.6ad85cd3.irene.vatton@inrialpes.fr>

On Fri, 22 Oct 2004 20:01:49 +0900 (JST)
Masayasu Ishikawa <mimasa@w3.org> wrote:

> 
> Irene Vatton <irene.vatton@inrialpes.fr> wrote:
> 
> > > When Amaya loads a document with an img without the alt attribute, it does
> > > not give an error message. The alt attribute can be deleted in the source
> > > view and when the document is saved it does not give an error message, 
> > > neither.
> > 
> > This is now done.
> 
> It seems this fix has gone a bit too far.  Try the following HTML fragment:
> 
>   <object data="w3c_home.png" type="image/png">
>     <object data="w3c_home.gif" type="image/gif">
>       <img src="w3c_home" alt="W3C">
>     </object>
>   </object>
> 
> Amaya 8.7 complains like
> 
>   line n, char n: Default mandatory attribute "alt" added
> 
> against *object* elements, but "alt" is not a valid attribute for object.

This bug is now fixed.

Thanks for the report.
     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Wednesday, 3 November 2004 08:59:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:39 GMT