diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2018-01-24 14:31:07 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2018-01-24 14:31:07 +0530 |
commit | fc97f0b4640c0aa8ae7368a02ba5ce2b455261e7 (patch) | |
tree | b8e1e36d09dabca12ac4d3bf8ccccf1febcccf14 /components/layout/inline.rs | |
parent | f3c81fcda8a16e9f3d7a30a9f67b0a03d618e630 (diff) | |
download | servo-fc97f0b4640c0aa8ae7368a02ba5ce2b455261e7.tar.gz servo-fc97f0b4640c0aa8ae7368a02ba5ce2b455261e7.zip |
do not preserve suppress flag on second half of split
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r-- | components/layout/inline.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs index c5be5b33390..2c9c37d204e 100644 --- a/components/layout/inline.rs +++ b/components/layout/inline.rs @@ -670,10 +670,10 @@ impl LineBreaker { }; inline_start_fragment = split_result.inline_start.as_ref().map(|x| { - fragment.transform_with_split_info(x, split_result.text_run.clone()) + fragment.transform_with_split_info(x, split_result.text_run.clone(), true) }); inline_end_fragment = split_result.inline_end.as_ref().map(|x| { - fragment.transform_with_split_info(x, split_result.text_run.clone()) + fragment.transform_with_split_info(x, split_result.text_run.clone(), false) }); // Push the first fragment onto the line we're working on and start off the next line with |