Infinite looping on SVG link selection
Brian Campbell <[email protected]>
| Newsgroups | gmane.comp.web.amaya.devel |
|---|---|
| Message-ID | <[email protected]> |
The recent changes to display link titles when the link is clicked upon causes an infinite loop when a link within some SVG is clicked on. For example, the "Amaya at W3C" link in the default "Welcome to Amaya" page. This appears to be caused by a misplaced statement, for which I've attached a patch. -- Brian Campbell
amaya.titleloop.patch
(text/plain, 495 B)
diff -ru Amaya.raw/amaya/HTMLactions.c Amaya/amaya/HTMLactions.c --- Amaya.raw/amaya/HTMLactions.c Wed Jul 16 17:00:32 2003 +++ Amaya/amaya/HTMLactions.c Thu Jul 17 13:52:17 2003 @@ -1076,8 +1076,8 @@ attrType.AttrTypeNum = HTML_ATTR_Title; titleAttr = TtaGetAttribute (ancestor, attrType); } - ancestor = TtaGetParent (ancestor); } + ancestor = TtaGetParent (ancestor); } while (titleAttr == NULL && ancestor != NULL); if (titleAttr)