Closed
Bug 296997
Opened 19 years ago
Closed 17 years ago
getBBox does not properly account for element transformations
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: readams, Unassigned)
References
()
Details
Attachments
(1 file)
2.04 KB,
application/xhtml+xml
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8b2) Gecko/20050607 Firefox/1.0+
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8b2) Gecko/20050607 Firefox/1.0+
Test case to be attached. getBBox in mozilla should, but doesn't, take into
account the transformations on an SVG element.
Reproducible: Always
Raised on www-svg: http://lists.w3.org/Archives/Public/www-svg/2005Jun/0022.html
No response yet (3+ weeks).
Comment 3•18 years ago
|
||
at the moment mozilla does however take into account transformations on an svg:g element!? Which makes things even more interesting
Comment 4•18 years ago
|
||
(In reply to comment #3)
> at the moment mozilla does however take into account transformations on an
> svg:g element!? Which makes things even more interesting
>
Do you have a testcase you could attach?
Comment 5•18 years ago
|
||
(In reply to comment #4)
> (In reply to comment #3)
> > at the moment mozilla does however take into account transformations on an
> > svg:g element!? Which makes things even more interesting
> >
>
> Do you have a testcase you could attach?
>
sorry my bad. I was seeing things, scratch that
Comment 6•17 years ago
|
||
The spec says getBBox "returns the tight bounding box in current user space (i.e., after application of the transform attribute, if any)". The bbox is always the same in user space regardless of any transform, since user space is established _after_ any such transform. It seems quite clear then that getBBox should not behave as you expect, but rather as Mozilla, Opera and others implement it now.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•