rebootcode / svg-edit

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

Empty selection box #991

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Edit file "embedapi.html": 
in function loadSvg() add one text object in var svgexample:
row 40:
...<text xml:space="preserve" text-anchor="middle" font-family="serif" 
font-size="24" id="text1" y="216.4" x="283.5" stroke-width="0" stroke="#000000" 
fill="#000000">123456</text></g></svg>';

2. Edit file "embedapi.html": 
in function saveSvg() row 45 add:
svgCanvas.setBold(true);
svgCanvas.clearSelection();

3. Open embedapi.html in Browser (Mozilla, IE)

4. Klick button "load data"

5. Klick (select) text object "123456"

6. Klick button "save data"

What is the expected output? 
Empty selection box (dotted) at the text object "123456"
s. attached image. 

What do you see instead?
No selection box 

In what browser did you experience this problem? (ALL, Firefox, Opera, etc)
Firefox, IE9

In what version of SVG-edit does the problem occur? (Latest trunk, 2.5.1,
etc)
Latest trunk

Please provide any additional information below.

Original issue reported on code.google.com by alekb...@gmx.de on 13 Jul 2012 at 11:04

Attachments: