Closed Bug 351367 Opened 19 years ago Closed 19 years ago

Setting the transform style on an element through dom and retrieving it will eventually lose the value.

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 174578

People

(Reporter: jayden, Assigned: dbaron)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060903 Minefield/3.0a1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060903 Minefield/3.0a1 Using an onload event I set the style transform of a rect. Clicking the rect returns the style transform value. Clicking any number of times after may return the same value but it will change to "undefined" at some point. I think the most I've been able to click with a value is about 8 times. Usually loses the value in the 3rd or 4th click. The number of clicks always seems to be different when you reload the page and do it again. Reproducible: Always Steps to Reproduce: 1. Click the rect to see the style transform value set through the init function. 2. Click again and again and usually between 3 - 8 clicks it will lose the value and return "undefined". Expected Results: Should return the value everytime and never lose it. A different issue is that the rect doesn't move to the location specified. But this is a different issue.
Attached image Minimal testcase
I should mention this also occurs in Firefox 1.5.0.6.
The SVG "transform" you're thinking of is an attribute and DOM property, not a CSS style property. I'm not sure what this testcase is doing to the style system, but it doesn't seem to be a SVG bug.
Component: SVG → Style System (CSS)
Assignee: general → dbaron
Hmm, I guess you're right. It's not listed on this page: http://www.w3.org/TR/SVG11/styling.html#SVGStylingProperties
Should I kill this bug then or is there something weird anyways to be looked at?
*** This bug has been marked as a duplicate of 174578 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: