aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2014-09-18 19:30:37 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2014-09-18 19:30:37 -0700
commitb11a110e85ca5670a1d492b6deb616fe8a90cf5b (patch)
tree06c3a98dd8171b5edfd2da84546595edae2bce61 /components/layout
parentf24af6720742ea4d1f66ee13070f04e335934824 (diff)
parentf35941d91d37db583e3c39d9b371ecd4f7850512 (diff)
downloadservo-b11a110e85ca5670a1d492b6deb616fe8a90cf5b.tar.gz
servo-b11a110e85ca5670a1d492b6deb616fe8a90cf5b.zip
Merge pull request #3414 from mbrubeck/pre-line-break
Fix line splitting in `white-space: pre` flows. r=gw
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