Re: Amaya 9.3 RC bug: Image maps

On Monday 05 December 2005 18:55, Bartolomé Sintes Marco wrote:
> Hi,
>
> The default position and size is not the most serious problem, even if
> it is very annoying. But these two bugs are serious, because they
> compromise the validity of the documents:
>
> 1. When an image map is created (XHTML > Map area > Insert a map), the
> map element is created as a block element. The W3C validator detects an
> error. Moreover, if the document doctype is XHTML 1.1, there is another
> bug according to the W3C validator: Amaya creates an invalid name
> attribute in the map element.

A <map> could be either a block element or an element that includes <area>s.
In the second case it should be linked to an image.
You can see the usage of the first case in the W3C page (http://www.w3.org).
The second kind of <map> is created only when you create the first <area>.


> 2. When an area is created (XHTML > Map area > Circle area, for
> instance), Amaya creates a second map element (the map element created
> with "Insert a map" is then useless). Moreover, if the document doctype
> is XHTML, there is another bug according to the W3C validator: Amaya
> insert a # in the usemap and the id attributes.
>
> Best regards,
> Bartolomé Sintes (http://ww.mclibre.org)
>
> Irene Vatton wrote:
> > On Monday 05 December 2005 10:23, Bartolomé Sintes Marco wrote:
> >>Hi,
> >>
> >>Image maps creation still has a lot of bugs in Amaya 9.3 RC. Please, try
> >>to create an image map with Amaya (you will notice that it is not easy
> >>to do it) and validate the document after each step and you will find
> >>lots of errors.
> >>
> >>If the document is an XHTML 1.1 document, the W3C validator will detect
> >>still more errors.
> >
> > This error was already reported, but we didn't find a solution yet wit WX
> > toolkit.
> > Today, Amaya generates an area with a default position and a default
> > size, then the user can resize and move it with Ctrl + Mouse buttons.
> >
> >>Best regards,
> >>Bartolomé Sintes (http://www.mclibre.org)

-- 
     Irène.
-----
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 Tuesday, 6 December 2005 16:51:18 UTC