CSS: low precision with very large angle value
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: cpartiot, Unassigned)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0
Steps to reproduce:
apply style transform: rotate(400000.01turn) to an element.
Actual results:
the element keeps its horizontal position.
Expected results:
the element should appear rotated by 0.01 turns (3.6 degrees).
The accuracy of the angle value decreases for very large angle values (over 10000 turns).
Playground example: https://codepen.io/yukulele/pen/MWOOZNb
Comment 1•4 years ago
|
||
Could you please provide a screenshot to make it easier for me to understand the issue?
Thanks.
Comment 4•4 years ago
|
||
i'm seeing differences between Firefox and Google Chrome, but there are not the same as the screenshots you attached.
Comment 5•4 years ago
|
||
The issue seems to be reproducible on Windows 10 x64, macOS 11.6 and on Ubuntu 20.04 x64.
i'm seeing differences between Firefox and Google Chrome, but there are not the same as the screenshots you attached.
It's because it's not the same angle used (150 000 deg vs 400 000 deg)
Description
•