Summary: | Removing an attribute has no effect on SVG | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Bruce Rindahl <rindahl> | ||||||
Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | ||||||||
Priority: | P2 | ||||||||
Version: | 523.x (Safari 3) | ||||||||
Hardware: | PC | ||||||||
OS: | OS X 10.4 | ||||||||
Attachments: |
|
Description
Bruce Rindahl
2007-06-22 12:11:21 PDT
Created attachment 15185 [details]
SVG file showing behavior
Clicking on the green rectangle shifts the blue rectangle downward. Clicking on the red rectangle should shift the blue rectangle back up but it doesn't.
Actually, the attribute is successfully removed, you can check that by entering the string below in the address bar: javascript:alert(document.getElementById("blue").getAttributeNS(null,"transform")) However, this has no effect on rendering for some reason (even if I resize the window for re-layout). (In reply to comment #2) I can confirm that. Something else must be needed to refresh. Setting the transform to "scale(1)" does make it work. Enter: javascript:document.getElementById("blue").setAttributeNS(null,"transform","scale(1)") Created attachment 15684 [details]
First attempt
This should do it. However it is done on trunk, I am sure I can find some victim to apply it to feature branch, or it takes a while longer until I am back on that branch, but I am heading back there for sure.
Cheers,
Rob.
Comment on attachment 15684 [details]
First attempt
Please also land in feature-branch, my tree is blocked by patches, too.
|