Closed
Bug 1505932
Opened 6 years ago
Closed 5 years ago
Firefox transform-origin on SVG still misaligned with small units (63.0.1, Windows 10)
Categories
(Core :: SVG, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: marcus.s.crowley, Unassigned)
Details
Attachments
(1 file)
81.78 KB,
image/gif
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Steps to reproduce: Use CSS to rotate an SVG circle around its centre when the number of viewBox units is low. Note that the stroke width seems to affect this, with some stroke widths being correctly aligned and some now. Actual results: The circle is shifted down and to the right when rotated through any angle, or at some stroke-width values. See https://codepen.io/MSCAU/pen/GwozbO including my comments in the CSS portion. Expected results: Like in Chrome and Edge, both circles should be perfectly aligned: rotation and stroke-width should not affect the position of the circle.
Updated•6 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → SVG
Ever confirmed: true
Product: Firefox → Core
![]() |
||
Updated•6 years ago
|
Priority: -- → P3
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 1•5 years ago
|
||
Have just installed latest FF on Windows 10. The issue persists.
Reporter | ||
Comment 2•5 years ago
|
||
Comment 3•5 years ago
|
||
It seems to be yet another Win10 specific problem. Can you try the testcase with hardware accelaration disabled?
Flags: needinfo?(marcus.s.crowley)
Reporter | ||
Comment 4•5 years ago
|
||
Yes it is the same issue without HW acceleration. FWIW I have 67.0.1 (64-bit).
Flags: needinfo?(marcus.s.crowley)
Comment 5•5 years ago
|
||
FWIW I have 67.0.1 (64-bit).
Ah, then this is probably the problem. I did find some problem in 67, but it's not misaligned, the blue stroke simply doesn't show. I couldn't find any problem using current Beta 68, or current Nightly 69.
Comment 6•5 years ago
|
||
The 67 problem maybe has something to do with screen DPI. I can see some difference when adjusting layout.css.devPixelsPerPx
in about:config
between 1 and 2.
You need to log in
before you can comment on or make changes to this bug.
Description
•