servo/components/layout_2020
Oriol Brufau fa8752df6a
Fix precision issue with line heights (#33438)
When computing the ascent and descent in an inline formatting context,
we weren't taking into account that app units have precision limitations.
Therefore, in some cases we were getting a line height that was slightly
taller than the value specified in `line-height`.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-09-13 16:56:14 +00:00
..
display_list uses app units in display_list (#33420) 2024-09-13 10:49:59 +00:00
flexbox Cleanup after #33396 (#33429) 2024-09-12 19:23:17 +00:00
flow Fix precision issue with line heights (#33438) 2024-09-13 16:56:14 +00:00
fragment_tree Let table-related boxes adjust their overflow values (#33400) 2024-09-11 15:30:17 +00:00
table uses app units in display_list (#33420) 2024-09-13 10:49:59 +00:00
tests layout: Right-to-left support for other layout modes (#33375) 2024-09-11 13:40:11 +00:00
Cargo.toml layout: Stop using unicode-segmentation in layout (#33250) 2024-08-29 14:51:39 +00:00
cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
context.rs Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
dom.rs clippy: Fix warnings in shared and config, fonts, layout, and layout_2020 components (#32674) 2024-07-04 14:18:58 +00:00
dom_traversal.rs layout: Fix display of new text in textarea elements (#32886) 2024-07-30 14:39:17 +00:00
formatting_contexts.rs layout: Use Au in ComputedValuesExt (#33396) 2024-09-10 21:35:17 +00:00
geom.rs uses app units in display_list (#33420) 2024-09-13 10:49:59 +00:00
layout_debug.rs clippy: Fix warnings in shared and config, fonts, layout, and layout_2020 components (#32674) 2024-07-04 14:18:58 +00:00
lib.rs layout: Right-to-left support for other layout modes (#33375) 2024-09-11 13:40:11 +00:00
lists.rs layout: Add a basic support for list-style-position: outside (#32114) 2024-04-22 14:23:35 +00:00
positioned.rs uses app units in display_list (#33420) 2024-09-13 10:49:59 +00:00
query.rs layout: Right-to-left support for other layout modes (#33375) 2024-09-11 13:40:11 +00:00
replaced.rs layout: Right-to-left support for other layout modes (#33375) 2024-09-11 13:40:11 +00:00
sizing.rs Fix various issues with replaced elements in flex layout (#33263) 2024-08-30 23:39:18 +00:00
style_ext.rs Simplify table logic in effective_overflow() (#33431) 2024-09-13 07:31:23 +00:00
traversal.rs script: Split style and layout data in DOM nodes (#31985) 2024-04-04 07:56:51 +00:00