servo/components/layout_2020
Oriol Brufau b77ec08ab6
Ignore spaces before atomic inline for the min-content size (#31896)
* Ignore spaces before atomic inline for the min-content size

For the min-content size we should wrap lines wherever is possible,
so wrappable spaces shouldn't increase the length of the line,
they will just be removed or hang at the end of the line.

* Add a clarifying comment

Co-authored-by: Martin Robinson <mrobinson@igalia.com>

---------

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-03-27 16:46:54 +00:00
..
display_list layout: Allow transforming inline replaced elements (#31833) 2024-03-27 11:57:27 +00:00
flexbox layout: use Au in BoxFragment (#31794) 2024-03-22 04:30:39 +00:00
flow Ignore spaces before atomic inline for the min-content size (#31896) 2024-03-27 16:46:54 +00:00
fragment_tree layout: Allow transforming inline replaced elements (#31833) 2024-03-27 11:57:27 +00:00
table layout: Allow transforming inline replaced elements (#31833) 2024-03-27 11:57:27 +00:00
tests layout: use Au in BoxFragment (#31794) 2024-03-22 04:30:39 +00:00
Cargo.toml layout: Add support for box-shadow to Layout 2020 (#31453) 2024-03-07 11:13:57 +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 Treat video elements as replaced content and render the current frame. (#31412) 2024-02-23 17:34:08 +00:00
dom_traversal.rs layout: Do not inherit node and fragment flags in anonymous boxes (#31586) 2024-03-09 09:13:19 +00:00
formatting_contexts.rs layout: Allow transforming inline replaced elements (#31833) 2024-03-27 11:57:27 +00:00
geom.rs layout: Add basic support for getClientRects() queries (#31696) 2024-03-15 17:20:47 +00:00
layout_debug.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00
lib.rs make ContainingBlock use Au for inline_size and block_size (#31370) 2024-02-20 09:14:44 +00:00
lists.rs layout: Do not inherit node and fragment flags in anonymous boxes (#31586) 2024-03-09 09:13:19 +00:00
positioned.rs layout: Allow transforming inline replaced elements (#31833) 2024-03-27 11:57:27 +00:00
query.rs layout: use Au in BoxFragment (#31794) 2024-03-22 04:30:39 +00:00
replaced.rs Treat video elements as replaced content and render the current frame. (#31412) 2024-02-23 17:34:08 +00:00
sizing.rs layout: Add initial support for row height distribution (#31421) 2024-02-29 12:12:54 +00:00
style_ext.rs layout: Allow transforming inline replaced elements (#31833) 2024-03-27 11:57:27 +00:00
traversal.rs Lint layout_2020 with clippy (#31169) 2024-01-25 09:03:31 +00:00