servo/components/layout_2020
Martin Robinson 5dda97d187
layout: Wait to count justification opportunities until justification (#31236)
Instead of tracking justification opportunities during line layout, wait
until the line is about to be laid out and justification is about
happen. This makes the logic for tracking justification opportunities
simpler. In particular, we no longer have to carefully adjust them when
trimming whitespace. Additionally, this avoids a bit of work unless
justification is turned on.

This also includes a small cleanup of the justification code.
2024-02-06 16:33:22 +00:00
..
display_list Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
flexbox layout: Collect both start and end baselines for fragments (#31230) 2024-02-05 18:06:05 +00:00
flow layout: Wait to count justification opportunities until justification (#31236) 2024-02-06 16:33:22 +00:00
fragment_tree layout: Collect both start and end baselines for fragments (#31230) 2024-02-05 18:06:05 +00:00
table layout: Collect both start and end baselines for fragments (#31230) 2024-02-05 18:06:05 +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 layout: Collect both start and end baselines for fragments (#31230) 2024-02-05 18:06:05 +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 layout: Collect both start and end baselines for fragments (#31230) 2024-02-05 18:06:05 +00:00
query.rs layout: return None bounding box when no nodes found (#31253) 2024-02-02 23:24:20 +00:00
replaced.rs use app unit in replaced elements (#31178) 2024-01-29 09:21:52 +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