mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-30 03:20:28 +00:00
360c0eb509
In general it is not safe to convert any arbitrary floating-point value to CSSPixels. CSSPixels has a resolution of 0.015625, which for small values (e.g. scale factors between 0 and 1), can produce bad results if converted to CSSPixels then scaled back up. In the worst case values can underflow to zero and produce incorrect results. |
||
---|---|---|
.. | ||
Layout | ||
Ref | ||
Text | ||
WPT | ||
CMakeLists.txt | ||
rebaseline-libweb-test | ||
TestCSSIDSpeed.cpp | ||
TestCSSPixels.cpp | ||
TestHTMLTokenizer.cpp | ||
TestNumbers.cpp | ||
tokenizer-test.html |