diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-01-27 17:34:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-27 16:34:21 +0000 |
commit | bbe505e52b611e682c6f3b34411a07c00a34f2b7 (patch) | |
tree | 44ea7191694cf5d27f5f550080450c65c9d3babe /components/servo/lib.rs | |
parent | bbba83927890b706d48e4cc5fe24671e595e39d7 (diff) | |
download | servo-bbe505e52b611e682c6f3b34411a07c00a34f2b7.tar.gz servo-bbe505e52b611e682c6f3b34411a07c00a34f2b7.zip |
layout: Round `clientTop`, etc queries to pixels properly (#31187)
* layout: Round getClientRect queries to pixels properly
Instead of just flooring all pixels in getClientRect queries, we should
round the rectangle.
* Fix scrollWidth/scrollHeight too, and tests
* Tests passing
* Test expectation for legacy layout
---------
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/servo/lib.rs')
0 files changed, 0 insertions, 0 deletions