servo/components/layout_2020/flow
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
..
construct.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
float.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
inline.rs Improve intrinsic sizing and white-space handling around forced line breaks (#30351) 2023-09-15 11:12:59 +00:00
mod.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00
root.rs Layout 2020: Rename flow_relative types to Logical... (#30324) 2023-09-12 07:31:30 +00:00