Closed
Bug 547596
Opened 16 years ago
Closed 16 years ago
SVG zoom events don't fire ?
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: duncan.loveday, Assigned: longsonr)
References
Details
(Keywords: regression, testcase)
Attachments
(3 files, 2 obsolete files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 2.0.50727)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 2.0.50727)
In the attached, the function zoomHandler() named in the SVG onzoom attribute is not called when currentScale is changed (worked on 3.5.x)
Reproducible: Always
Steps to Reproduce:
1. Open the html attachment and click the button
2.
3.
Actual Results:
Two alerts are shown, one when the SVG is loaded and another when the onclick handler for the button is called.
Expected Results:
A total of three alerts should be shown, the two described above and another when the onzoom handler for the SVG is called.
| Reporter | ||
Comment 1•16 years ago
|
||
| Reporter | ||
Comment 2•16 years ago
|
||
| Reporter | ||
Updated•16 years ago
|
Keywords: regression,
testcase
| Reporter | ||
Comment 3•16 years ago
|
||
Attachment #428088 -
Attachment is obsolete: true
| Reporter | ||
Comment 4•16 years ago
|
||
Attachment #428090 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•16 years ago
|
||
If it's a regression do you fancy getting a regression range?
| Reporter | ||
Comment 6•16 years ago
|
||
Yes I can do that.
Renesis plugin has the same behaviour BTW - no chance it's an intentional change is there ?
| Assignee | ||
Comment 7•16 years ago
|
||
Never mind. I don't need a regression range any more. The issue is obvious enough.
It's not an intentional change.
| Assignee | ||
Comment 8•16 years ago
|
||
Assignee: nobody → longsonr
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #428095 -
Flags: review?(roc)
Comment 9•16 years ago
|
||
Comment on attachment 428095 [details] [diff] [review]
patch
r=jwatt
Attachment #428095 -
Flags: review?(roc) → review+
| Reporter | ||
Comment 10•16 years ago
|
||
This is quick work !
BTW is it safe to assume this fix WON'T be released until 3.7.x ?
I can code round it but calling the zoom handler explicitly but that'll break if the behaviour changes in a minor update
Comment 11•16 years ago
|
||
3.7 hasn't been released. Do you mean 3.6.x? This patch will probably be in the former, but won't be in the latter.
| Reporter | ||
Comment 12•16 years ago
|
||
Yes, that's what I meant - patch won't be in a minor update for 3.6.x. I'll code up a bit of nasty user agent sniffing for 3.6 (but not 3.7).
Thanks Jonathan
| Assignee | ||
Comment 13•16 years ago
|
||
| Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•