[svg-developers] Re: Strategy for text input

2011-02-04 Thread gb_n_svg
Jon Thank you very much for the help. I am currently thinking I'll eventually build something like that carto.net textbox, with the addition of changing size of the block it is embedded within as characters are typed or rubbed out. Initially, I'll likely use that carto.net textbox unchanged

[svg-developers] Re: Strategy for text input

2011-02-03 Thread Jon Frost
ForeignObject seems like the ideal tag to use for inserting Html content within Svg, however I believe IE9 does not (will not?) support the ForeignObject tag. The logic there it seems is that div tags layered on top of the Svg should work just as well. There has been mixed support for

[svg-developers] Re: Strategy for text input

2011-01-24 Thread gb_n_svg
Yes, I have had uneven results with a simple 'blur' filter across browsers. I am instantiating most of my shapes using the 'use' element, so I am hoping that I can isolate all of the browser variability into a small, non-visible 'defs' subsection of my SVG, so that I can either go with a

[svg-developers] Re: Strategy for text input

2011-01-23 Thread cremnosedum
Hi, --- In svg-developers@yahoogroups.com, Jacob Beard jbeard4@... wrote: Also, just a note about SVG filters: I think they have only recently been added to Webkit, and so are not in currently release versions of Chrome and Safari. The last versions I tested: Chrome 5.0.375.70 tries to

[svg-developers] Re: Strategy for text input

2011-01-19 Thread t...@ymail.com
I tried something similar some time ago, and it's a pain. I'm not sure whether you can at all detect all possible keystrokes correctly, not to speak of accented characters and such. I'd probably go with an HTML input field inside a foreignObject right now, since the editable text currently is

Re: [svg-developers] Re: Strategy for text input

2011-01-19 Thread Jacob Beard
I agree, it can be a pain to do with SVG 1.1, but it is possible. carto.net has had some example of textbox widgets since a long time: http://www.carto.net/papers/svg/gui/textbox/ Lively kernel rolled their own multi-line text editor for editing code: http://www.lively-kernel.org/ And it just

[svg-developers] Re: Strategy for text input

2011-01-19 Thread gb_n_svg
Thomas Thank you for the advice. I wondered if something like that might be an answer, (my colleagues did that with a complex X-Windows UI, but that was 16 years ago!) so now I know!-) (Not the answer I had hoped for :-) I assume I need to define the XHTML name space, and then use that within

[svg-developers] Re: Strategy for text input

2011-01-19 Thread gb_n_svg
Jake --- In svg-developers@yahoogroups.com, Jacob Beard jbeard4@... wrote: I agree, it can be a pain to do with SVG 1.1, but it is possible. carto.net has had some example of textbox widgets since a long time: http://www.carto.net/papers/svg/gui/textbox/ Argh! Thank you for reminding me.

Re: [svg-developers] Re: Strategy for text input

2011-01-19 Thread Jacob Beard
On 11-01-19 06:53 PM, gb_n_svg wrote: Jake --- In svg-developers@yahoogroups.com mailto:svg-developers%40yahoogroups.com, Jacob Beard jbeard4@... wrote: I agree, it can be a pain to do with SVG 1.1, but it is possible. carto.net has had some example of textbox widgets since a