Closed
Bug 1057398
Opened 10 years ago
Closed 10 years ago
transform-origin with percent value doesn't seem to work on SVG elements
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 923193
People
(Reporter: dholbert, Unassigned)
Details
Attachments
(1 file)
472 bytes,
image/svg+xml
|
Details |
STR: 1. Load attached testcase EXPECTED RESULTS: No red should be visible. (The lime rect's CSS transform should rotate it around its center point, per its "transform-origin" property.) ACTUAL RESULTS: Red is visible. My "transform-origin" doesn't seem to have had any effect on the lime rect -- it's rotating about its 0,0 point instead of about its 50%,50% point. Devtools show that the computed "transform-origin" is to 0,0 -- so, it looks like the percentage isn't resolving against anything. http://dev.w3.org/csswg/css-transforms/#transform-origin-property says: "Percentages: refer to the size of bounding box" Chrome 36 gives me EXPECTED RESULTS. Firefox Nightly gives me ACTUAL RESULTS.
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•10 years ago
|
||
Here's the testcase, though I see this is a dupe (thanks, longsonr). (I think I put too much trust in enter_bug.cgi's possible-dupe-finder UI. :))
You need to log in
before you can comment on or make changes to this bug.
Description
•