Re: [Ur] SVG Test based on ListEdit.ur

2018-05-01 Thread Jonas Mellin
Hmm, so https://github.com/karsar/urweb-examples/blob/master/SVGTest/SVGTest.ur works because the SVG is encapsulated in HTML inside the dyn. That restricts the options for employing SVG. /Jonas From: Ur [mailto:ur-boun...@impredicative.com] On Behalf Of Adam Chlipala Sent: den 2 maj 2018

Re: [Ur] SVG Test based on ListEdit.ur

2018-05-01 Thread Adam Chlipala
Yes, I'm sorry, but the tag is only for HTML and the DOM.  It would take extra implementation effort to make it compatible with SVG, and that effort has not yet been made... so it's good that the compiler is raising a static error! On 05/01/2018 06:04 PM, Jonas Mellin wrote: Dear all, I

[Ur] SVG Test based on ListEdit.ur

2018-05-01 Thread Jonas Mellin
Dear all, I have tried to adapt ListEdit.ur in the tutorial to a small SVG application that adds circles to the screen as you double click (the code is at the end). The SVG.urs is found at https://github.com/karsar/urweb-examples/blob/master/SVGTest/SVG.urs I get a problem at row 57 "" and