servo/components/layout_2020
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
..
display_list Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
flexbox layout: Shape text only once (#31146) 2024-01-25 14:33:47 +00:00
flow layout: Implement computation of table column widths (#31165) 2024-01-25 23:13:13 +00:00
fragment_tree layout: Round clientTop, etc queries to pixels properly (#31187) 2024-01-27 16:34:21 +00:00
table Lint layout_2020 with clippy (#31196) 2024-01-26 23:15:03 +00:00
tests Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
Cargo.toml deps: Remove unused crate dependencies (#31185) 2024-01-26 23:18:26 +00:00
cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
context.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
dom.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
dom_traversal.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
formatting_contexts.rs Lint layout_2020 with clippy (#31196) 2024-01-26 23:15:03 +00:00
geom.rs layout: Add *very* basic support for table layout (#31121) 2024-01-19 13:20:20 +00:00
layout_debug.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
lib.rs Compile Servo with the latest version of rust stable (#30831) 2023-12-06 17:36:07 +00:00
lists.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
positioned.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
query.rs layout: Round clientTop, etc queries to pixels properly (#31187) 2024-01-27 16:34:21 +00:00
replaced.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
sizing.rs layout: Implement computation of table column widths (#31165) 2024-01-25 23:13:13 +00:00
style_ext.rs layout: Convert layout internal display to inline for replaced elements (#31133) 2024-01-23 12:55:01 +00:00
traversal.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00