mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
do not preserve suppress flag on second half of split
This commit is contained in:
parent
f3c81fcda8
commit
fc97f0b464
2 changed files with 12 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue