servo/components/layout_2020/fragment_tree
Martin Robinson bbe505e52b
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>
2024-01-27 16:34:21 +00:00
..
base_fragment.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
box_fragment.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
containing_block.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
fragment.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
fragment_tree.rs layout: Round clientTop, etc queries to pixels properly (#31187) 2024-01-27 16:34:21 +00:00
hoisted_shared_fragment.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
mod.rs Layout 2020: Move all Fragment code to the fragment_tree directory 2023-06-04 18:12:11 +02:00