Closed Bug 449327 Opened 17 years ago Closed 17 years ago

nsSVGForeignObjectFrame::GetBBox should account for canvas TM

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Assigned: roc)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch fix (obsolete) — Splinter Review
Summary says it all.
Attachment #332490 - Flags: superreview?(mats.palmgren)
Attachment #332490 - Flags: review?(longsonr)
Comment on attachment 332490 [details] [diff] [review] fix Please decide if we should "*_retval = nsnull" before returning an error or not. The method should be internally consistent. sr=mats with that
Attachment #332490 - Flags: superreview?(mats.palmgren) → superreview+
Comment on attachment 332490 [details] [diff] [review] fix Would you mind writing a mochitest for this? Something we can extend to cover <text>, pathGeometry i.e. <rect> and containers i.e. <g> although I'd be happy with just foreignObject for now.
Attachment #332490 - Flags: review?(longsonr) → review+
(In reply to comment #1) > (From update of attachment 332490 [details] [diff] [review]) > Please decide if we should "*_retval = nsnull" before returning > an error or not. The method should be internally consistent. > It should include that line.
I don't know how to write a mochitest for this. getBBox() doesn't work because it returns coordinates "in the current user space" i.e. ignoring transforms applied to the foreignObject. I have written a getBBox mochitest though, and we may as well land it, even though it doesn't test this particular bug.
Attachment #332490 - Attachment is obsolete: true
Attachment #333498 - Flags: superreview+
Attachment #333498 - Flags: review+
This landed, shouldn't it be marked fixed?
Yes.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: