mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
392e0ff3a8
Truncating them generally makes sense, but may be unexpected by some websites, and rounding consistently with other APIs like client* is probably more important than showing useless scrollbars in some cases. I checked Chromium and it seems they round both client* / scroll* / offset* APIs, and inner{Width,Height} (though they seem to round exact half pixels down instead of up), so this should probably be safe. This is tested already by testing/web-platform/mozilla/tests/css/cssom/window_size_rounding.html Differential Revision: https://phabricator.services.mozilla.com/D228960 |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libjar | ||
libmar | ||
libpref | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |