The default bug view has changed. See this FAQ.

Use AfterSetAttr to process script href changes

RESOLVED FIXED in mozilla11

Status

()

Core
SVG
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: Robert Longson, Assigned: Robert Longson)

Tracking

Trunk
mozilla11
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Comment hidden (empty)
(Assignee)

Comment 1

6 years ago
Created attachment 570478 [details] [diff] [review]
patch
Assignee: nobody → longsonr
Attachment #570478 - Flags: review?(dholbert)
Comment on attachment 570478 [details] [diff] [review]
patch

I take it theree's no way to change the target of <script xlink:href="..."> other than setAttributeNS?

I know it's not animatable, and it doesn't seem to be exposed as an attribute on the DOM node.

Assuming that there's no other way to do it (or all ways end up triggering AfterSetAttr), then r=me.
Attachment #570478 - Flags: review?(dholbert) → review+
(Assignee)

Comment 3

5 years ago
You can change it with SVG DOM but you still end up in AfterSetAttr.
Flags: in-testsuite-
(Assignee)

Comment 4

5 years ago
pushed https://hg.mozilla.org/integration/mozilla-inbound/rev/64103eac30cf
Target Milestone: --- → mozilla11
https://hg.mozilla.org/mozilla-central/rev/64103eac30cf
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.