servo/components/layout_2020
Martin Robinson 38d9a5eae0
Improve intrinsic sizing and white-space handling around forced line breaks (#30351)
* Take forced line breaks into account for intrinsic size

Fixes #30350.

* Don't linebreak on collapsible whitespace

This whitespace can hang off the end of the line, because it will be
trimmed LineItem layout.

* Update float placement after line breakage

Also don't ever line break for collapsible whitespace.

* Fix a few more test cases and clean up

* Renaming according to review comments
2023-09-15 11:12:59 +00:00
..
display_list Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
flexbox Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
flow Improve intrinsic sizing and white-space handling around forced line breaks (#30351) 2023-09-15 11:12:59 +00:00
fragment_tree Refactor scrolls on the window object (#29680) 2023-09-15 10:57:54 +00:00
tests Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
Cargo.toml Use std::cell::OnceCell and remove mitochondria dependency (#30207) 2023-08-25 14:09:55 +00:00
cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
context.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
dom.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
dom_traversal.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
formatting_contexts.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
geom.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
layout_debug.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
lib.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
lists.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
positioned.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
query.rs Refactor scrolls on the window object (#29680) 2023-09-15 10:57:54 +00:00
replaced.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
sizing.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
style_ext.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
traversal.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00