mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
layout: Do whitespace collapse during breaking and shaping (#31322)
This moves white space collapse to right before breaking and shaping happens, which is more similar to what happens in legacy layout. This is the first step toward making this procedure more efficient (avoiding string copies) and also implementing support for `text-transform`. Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com>
This commit is contained in:
parent
6fe7cec569
commit
6d73832009
5 changed files with 333 additions and 253 deletions
|
@ -153,7 +153,6 @@ where
|
|||
(&run.info).into(),
|
||||
run.info.style,
|
||||
run.text.into(),
|
||||
false, /* has_uncollapsible_content */
|
||||
)
|
||||
});
|
||||
let bfc = BlockFormattingContext::construct_for_text_runs(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue