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

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.

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Friday, 22 October 2004 11:01:51 UTC