diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-02-14 00:08:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 23:08:00 +0000 |
commit | 6d738320095a7e87cf27fb978022d7e620b95b12 (patch) | |
tree | 6652f42453d952e127d536ec6ac4586edccb5493 /components/layout_2020/flexbox/construct.rs | |
parent | 6fe7cec569fe81950fc1a4c16fb20f4f272da886 (diff) | |
download | servo-6d738320095a7e87cf27fb978022d7e620b95b12.tar.gz servo-6d738320095a7e87cf27fb978022d7e620b95b12.zip |
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>
Diffstat (limited to 'components/layout_2020/flexbox/construct.rs')
-rw-r--r-- | components/layout_2020/flexbox/construct.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/components/layout_2020/flexbox/construct.rs b/components/layout_2020/flexbox/construct.rs index 55e94b35655..b5aa9b34c47 100644 --- a/components/layout_2020/flexbox/construct.rs +++ b/components/layout_2020/flexbox/construct.rs @@ -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( |