Closed
Bug 449327
Opened 17 years ago
Closed 17 years ago
nsSVGForeignObjectFrame::GetBBox should account for canvas TM
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
Details
Attachments
(1 file, 1 obsolete file)
|
3.68 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
Summary says it all.
Attachment #332490 -
Flags: superreview?(mats.palmgren)
Attachment #332490 -
Flags: review?(longsonr)
Comment 1•17 years ago
|
||
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 2•17 years ago
|
||
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+
Comment 3•17 years ago
|
||
(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.
| Assignee | ||
Comment 4•17 years ago
|
||
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.
| Assignee | ||
Comment 5•17 years ago
|
||
Attachment #332490 -
Attachment is obsolete: true
Attachment #333498 -
Flags: superreview+
Attachment #333498 -
Flags: review+
Comment 6•17 years ago
|
||
This landed, shouldn't it be marked fixed?
| Assignee | ||
Comment 7•17 years ago
|
||
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.
Description
•