aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout')
-rw-r--r--components/layout/inline.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs
index 8c86b8fae93..a888378bf19 100644
--- a/components/layout/inline.rs
+++ b/components/layout/inline.rs
@@ -499,7 +499,7 @@ impl LineBreaker {
debug!("LineBreaker: Deferring the fragment to the inline_end of the new-line \
character to the line.");
let mut inline_end = split_fragment(inline_end);
- inline_end.new_line_pos = in_fragment.new_line_pos.clone();
+ inline_end.new_line_pos.remove(0);
self.work_list.push_front(inline_end);
}
false