Closed
Bug 234953
Opened 21 years ago
Closed 19 years ago
Transformation don't work on ForeignObject
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jpx.dumont, Unassigned)
References
Details
Attachments
(1 file)
594 bytes,
image/svg+xml
|
Details |
User-Agent:
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040217
Transformation on ForeignObject
Translation : work only on the <ForeighObject> tag but not on the <g> parent tag
Scale : doesn't work
Rotation :doesnt work
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Actual Results:
Translation : translate when on the tag itsefl
Scale : nothing
Rotation : nothing
Expected Results:
...
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
>
<head>
<script src="testsvg.js"/>
</head>
<body onload="initialize();">
<svg:svg width="100%" height="100%" id="svgNode" color="blue">
<svg:g>
<svg:foreignObject width="100%" height="100%" x="0" y="0"
transform="translate(210, 120) scale(2, 2)">
<img src="img.jpg"/>
</svg:foreignObject>
</svg:g>
</svg:svg>
</body>
</html>
Reporter | ||
Updated•21 years ago
|
Summary: Transformations doesn't work on ForeignObject → Transformation don't work on ForeignObject
Comment 1•21 years ago
|
||
Implementing this properly will require some significant restructuring in GFX.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•21 years ago
|
QA Contact: ian
While we can't handle arbitrary transforms without gfx rework, would it be
worth checking for just a translation matrix?
![]() |
||
Comment 3•20 years ago
|
||
Mass reassign of SVG bugs that aren't currently being worked on by Alex to
general@svg.bugs. If you think someone should be assigned to your bug you can
join the #svg channel on mozilla.org's IRC server ( irc://irc.mozilla.org/svg )
where you can try to convince one of the SVG hackers to work on it. We aren't
always there, so if you don't get a response straight away please try again later.
Assignee: alex → general
Comment 4•20 years ago
|
||
hixie this bug is resolved translation wfm win-2004112523
please provide a uri or attachment if you believe there is still a problem
I have not tried rotation etc,
Let's leave this open to deal with general transformations.
Depends on: 326966
![]() |
||
Comment 6•19 years ago
|
||
Do we count this as "working" now roc? Or should this stay open for follow up to make rotated content less ugly?
Let's close this. Remaining issues should be filed with their own specific bugs.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 8•19 years ago
|
||
No specific bug / patch referenced as the fix.
-> WORKSFORME
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•19 years ago
|
Status: REOPENED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•