Closed
Bug 313180
Opened 20 years ago
Closed 18 years ago
getBBox on degenerate rect giving garbage result
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
DUPLICATE
of bug 377085
People
(Reporter: tor, Assigned: tor)
Details
Attachments
(3 files)
Attachment #200255 -
Flags: review?(scootermorris)
Comment 3•20 years ago
|
||
Comment on attachment 200255 [details] [diff] [review]
handle degenerate rect
It would be useful to have a comment to explain why you are doing a Moveto when the rectangle won't be rendered. With that r+
Attachment #200255 -
Flags: review?(scootermorris) → review+
Updated•19 years ago
|
Flags: blocking1.9a1?
Updated•19 years ago
|
Flags: blocking1.9a1? → blocking1.9?
Comment 4•19 years ago
|
||
I think this is fixed in cairo now so this patch is no longer necessary (and is also no longer appropriate given that it should now use IsDegenerateRect).
I think we can close this as WORKSFORME now.
Comment 5•19 years ago
|
||
I think it still has some issues (try testcase)
Comment 6•19 years ago
|
||
(In reply to comment #5)
> Created an attachment (id=251009) [details]
> testcase2
>
> I think it still has some issues (try testcase)
>
Seems to produce the results I expect. What problem do you see? N.B. you are testing with a trunk build aren't you?
Comment 7•19 years ago
|
||
When a shape has zero width and height getBBox() returns zero for x and y too. Is this how it is supposed to work?
> N.B. you are testing with a trunk build aren't you?
Yes I am testing with trunk.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Updated•18 years ago
|
Flags: blocking1.9?
You need to log in
before you can comment on or make changes to this bug.
Description
•