Closed Bug 302765 Opened 19 years ago Closed 19 years ago

can not change offset of SVGStopElements on mouse events

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: holger, Assigned: tor)

Details

(Keywords: testcase)

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050727 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050727 Firefox/1.0+

changing the value for offset of an SVGStopElement only works onload, it does
not work on mouse events.
furthermore, if you change the tab, and then go back , or minimize the window...
the change will be visible, but neither forceRedraw() nor un/suspendRedraw()
will cause a redraw.

Reproducible: Always

Steps to Reproduce:
1.create an SVG gradient
2.change the offset of one of the stop elements via script
3.

Actual Results:  
no visual change, appearence only changes after changing the window size or the tab.

Expected Results:  
the visual change should take place imidiatly.
Attached image testcase
the onload event handler works fine, the onclick handler does not cause an
imidiate redraw.
Keywords: testcase
Attached patch observe stop offset (obsolete) — Splinter Review
Assignee: general → tor
Status: UNCONFIRMED → ASSIGNED
Attachment #191391 - Flags: review?(scootermorris)
Attached patch add commentsSplinter Review
Attachment #191391 - Attachment is obsolete: true
Attachment #191506 - Flags: review?(scootermorris)
Comment on attachment 191506 [details] [diff] [review]
add comments

Looks good to me!
Attachment #191506 - Flags: review?(scootermorris) → review+
Attachment #191391 - Flags: review?(scootermorris)
Attachment #191506 - Flags: approval1.8b4?
Attachment #191506 - Flags: approval1.8b4? → approval1.8b4+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
verifying fix, works great ! thanks !
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: