Issue metadata
Sign in to add a comment
|
CSS style properties computed with single floating point precision
Reported by
glro...@gmail.com,
Feb 3 2018
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Steps to reproduce the problem: 15:43:07.229 document.body.style.top = 10000000+"px" 15:43:07.240 "10000000px" 15:43:09.023 document.body.style.top 15:43:09.033 "1e+07px" What is the expected behavior? use double What went wrong? ...well a lot of things can go wrong this way. I am developing a virtualised grid and I can't rely on the css engine to position the elements for me when the scroll area is too big. Did this work before? No Does this work in other browsers? N/A Chrome version: 64.0.3282.140 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: In Safari the grid works without glitches, in the console log I can see the numbers don't loose their precision
,
Feb 5 2018
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by krajshree@chromium.org
, Feb 4 2018