tyxml icon indicating copy to clipboard operation
tyxml copied to clipboard

Usemap for imgs

Open asmanur opened this issue 5 years ago • 1 comments

Hello,

I have been trying to use interactive maps with tyxml, and have not been able to use the usemap attribute of the node to refer to the node, as illustrated in https://www.w3schools.com/tags/tag_map.asp

The a_usemap attrib constructor seems to exist but `Usemap is not allowed in img_attrib. It seems to me that it should be in there but maybe I am missing something?

asmanur avatar May 13 '20 07:05 asmanur

It seems the usemap attribute is availble for object, but was forgotten for img! Could you add it ? You just need to patch Html_types.img_attrib.

Drup avatar May 21 '20 11:05 Drup