Files
react-native-devtools-frontend/front_end/platform
Alex Rudenko a9f40de958 Round contrast ratio down
Previously, the contrast ratio might have been rounded up (using
toFixed) giving confusing results. For example, the value 6.997
is below the threshold of 7.00, but it was shown as 7.00 and the
contrast value was still marked as insufficient.

Bug: chromium:1166128
Change-Id: I8e4539a3c8794e409606af5f211b341985078961
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2631112
Reviewed-by: Jan Scheffler <janscheffler@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
2021-01-18 07:31:12 +00:00
..
2021-01-11 17:14:27 +00:00
2021-01-18 07:31:12 +00:00
2021-01-11 17:14:27 +00:00