Closed Bug 234953 Opened 21 years ago Closed 19 years ago

Transformation don't work on ForeignObject

Categories

(Core :: SVG, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jpx.dumont, Unassigned)

References

Details

Attachments

(1 file)

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>
Summary: Transformations doesn't work on ForeignObject → Transformation don't work on ForeignObject
Implementing this properly will require some significant restructuring in GFX.
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: ian
Depends on: 246520
While we can't handle arbitrary transforms without gfx rework, would it be worth checking for just a translation matrix?
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
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.
Attached image testcase (deleted) —
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
No specific bug / patch referenced as the fix. -> WORKSFORME
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: