diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-01-28 17:24:50 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-01-28 17:24:50 -0700 |
commit | c8e68fa45c43856f7ffbdde25b6e68571ad288bf (patch) | |
tree | 4226130646a28e961829a7276b83959a63f13cf4 /components/layout/construct.rs | |
parent | 74e32d119c864f527510a3ca008f88c26818df0b (diff) | |
parent | 0f8e436745715b68617722ae8db16c42f6eb3914 (diff) | |
download | servo-c8e68fa45c43856f7ffbdde25b6e68571ad288bf.tar.gz servo-c8e68fa45c43856f7ffbdde25b6e68571ad288bf.zip |
auto merge of #4592 : pcwalton/servo/text-overflow, r=mbrubeck
Only the one-value syntax is supported for now.
r? @mbrubeck
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 9e14e2244ab..421f4e25f3f 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -991,7 +991,8 @@ impl<'a> FlowConstructor<'a> { let mut unscanned_marker_fragments = DList::new(); unscanned_marker_fragments.push_back(Fragment::new_from_specific_info( node, - SpecificFragmentInfo::UnscannedText(UnscannedTextFragmentInfo::from_text(text)))); + SpecificFragmentInfo::UnscannedText( + UnscannedTextFragmentInfo::from_text(text)))); let marker_fragments = TextRunScanner::new().scan_for_runs( self.layout_context.font_context(), unscanned_marker_fragments); |