Closed Bug 426503 Opened 16 years ago Closed 16 years ago

SVG: A pure text cannot be displayed just by button onclick, but needs a cursor motion also.

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 423998

People

(Reporter: dagan, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008040106 Minefield/3.0pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008040106 Minefield/3.0pre

In SVG: form an onclick button for calling a script function to change the "visibility" to "visible" of a group <g> containing only text, without any graphics in addition. The onclick event does not cause the display of the text, but only if the cursor is moved after the click. The onclick event behaves correctly if the <g> contains also a graphical object, or only - graphics. This bug occurs in Mac and Windows, and is a regression from Firefox 2.

Reproducible: Always

Steps to Reproduce:
1.Form an onclick button to call a script function to change the "visibility to "visible" of a pure text element.
2.Do the same for a <g> element containing text and graphics.
3.Apply onclick on each one.
Actual Results:  
The pure text element appears only after moving the cursor, while the elent containing graphics also, appears immediately with the click.

Expected Results:  
Any element should appear just by the click.
Component: General → SVG
Product: Firefox → Core
QA Contact: general → general
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
The patch in bug 423998 fixes it. See bug 423998 comment 2 for a similar example to yours.
Depends on: 423998
Thanks, works fine after fixing, Samy
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: