Closed
Bug 1359741
Opened 8 years ago
Closed 6 years ago
Svg inside svg has the wrong dimensions
Categories
(Core :: SVG, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: kuzvasiliy, Unassigned)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36
Steps to reproduce:
Go to https://jsfiddle.net/kuzvac/0fhd78qj/embedded/result
Look at the dimensions of the nested svg node
Actual results:
Svg node have wrong dimensions
Expected results:
Svg node shall have correct dimension
| Reporter | ||
Updated•8 years ago
|
Attachment #8861831 -
Attachment description: Screenshot → Incorrect dimensions in Firefox
| Reporter | ||
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Component: Untriaged → SVG
Product: Firefox → Core
Comment 2•8 years ago
|
||
kuzvasiliy, are you sure you are inspecting the right element?
I attach what I see here with:
Build identifier: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
The dimension numbers are not exact but very close to your Chrome screenshot.
Happy to help figure out if there is a bug here :)
Flags: needinfo?(kuzvasiliy)
| Reporter | ||
Comment 3•8 years ago
|
||
(In reply to Luis de Bethencourt [:luisbg] from comment #2)
> Created attachment 8862054 [details]
> 1359741_linux_build.png
>
> kuzvasiliy, are you sure you are inspecting the right element?
>
> I attach what I see here with:
> Build identifier: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101
> Firefox/55.0
>
> The dimension numbers are not exact but very close to your Chrome screenshot.
>
> Happy to help figure out if there is a bug here :)
Hmmm... ouch, looks like i tag the wrong version of Firefox! :)
I found this bug in latest stable version (53).
If it work in Nightly build, that's good! I will wait for new stable version.
Thank you.
Flags: needinfo?(kuzvasiliy)
| Reporter | ||
Updated•8 years ago
|
Version: 55 Branch → 53 Branch
| Reporter | ||
Comment 4•8 years ago
|
||
I recently noticed (in Firefox 55), if i wrap inner svg into g tag, this g tag will have wrong dimension. fiddle is updated.
Updated•8 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•