chenbo007 / svg-edit

Automatically exported from code.google.com/p/svg-edit
0 stars 0 forks source link

Can enter non-numeric values for rx,ry values #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an ellipse
2. Edit its rx value to an invalid value ('foo')
3. The ellipse disappears

What is the expected output? What do you see instead?
SVG-edit should stop all invalid input from the context panel tools.  We
should use this bug to test and fix all of them.

Original issue reported on code.google.com by codedr...@gmail.com on 23 Aug 2009 at 12:29

GoogleCodeExporter commented 9 years ago
Related to this I think, I noticed that:
- in Firefox (Windows), I can enter a value in the fields in the toolbar and hit
"enter", it applies the new value to the selected element. 
- In Opera 10 beta 3 (Windows), hitting "enter" at that stage doesn't work, I 
have to
either use "tab" to go to the next field, or to click anywhere in the toolbar 
itself. 

Original comment by worms_...@yahoo.com on 23 Aug 2009 at 8:34

GoogleCodeExporter commented 9 years ago

Original comment by codedr...@gmail.com on 24 Aug 2009 at 1:30

GoogleCodeExporter commented 9 years ago
Fixed in r453. Currently only allow numbers, but code is in place for future to 
allow 5em, 10%, etc.

Issue in Comment 1, this has been fixed too.

Original comment by adeve...@gmail.com on 24 Aug 2009 at 3:31