rebootcode / svg-edit

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

Text input: text being entered is not visible in Firefox #917

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open in Firefox
2. Select Text tool (7)
3. Try to enter some text

What is the expected output?
Entered letters being displayed.

What do you see instead?
Editor is accepting entered text, editor is resized but text is not visible. It 
becomes visible only when editing is finished.

In what browser did you experience this problem?
Firefox 10.0.2

In what version of SVG-edit does the problem occur?
2.5.1

Please provide any additional information below.
SVG text element is created as follows:

<text id="svg_6" fill="#000000" stroke="#000000" stroke-width="0" 
style="pointer-events:inherit" x="165" y="129" font-size="24" 
font-family="serif" text-anchor="middle" xml:space="preserve">sample text</text>

but it's not visible. It seems to be a Firefox bug.

Adding fill-opacity="1" to <text> attributes can be used as a workaround for 
this bug.

Original issue reported on code.google.com by yurij.za...@gmail.com on 2 Mar 2012 at 9:42

GoogleCodeExporter commented 8 years ago
Can you try with the latest trunk? This problem should've been fixed there:
http://svg-edit.googlecode.com/svn/trunk/editor/svg-editor.html

See also issue 831.

Original comment by asyazwan on 3 Mar 2012 at 6:41