diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2016-04-27 12:55:01 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2016-05-04 13:20:24 -0700 |
commit | 2bef5606bdec51daf2f5b942cb126e091bc8cc3c (patch) | |
tree | 320c3b06f3c2c86312232caad947243dd0ae4eb8 /components/layout/construct.rs | |
parent | d2511e33c676e57f270d5fe0bf9c3a079bd6ace1 (diff) | |
download | servo-2bef5606bdec51daf2f5b942cb126e091bc8cc3c.tar.gz servo-2bef5606bdec51daf2f5b942cb126e091bc8cc3c.zip |
layout: Minor whitespace cleanup.
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 7985fac3f73..dc6ca7b3cb1 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -686,7 +686,7 @@ impl<'a, ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNode> /// FIXME(pcwalton): It is not clear to me that there isn't a cleaner way to handle /// `<textarea>`. fn build_flow_for_block_like(&mut self, flow: FlowRef, node: &ConcreteThreadSafeLayoutNode) - -> ConstructionResult { + -> ConstructionResult { let mut initial_fragments = IntermediateInlineFragments::new(); let node_is_input_or_text_area = node.type_id() == Some(NodeTypeId::Element(ElementTypeId::HTMLElement( @@ -1023,7 +1023,8 @@ impl<'a, ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNode> /// This is an annoying case, because the computed `display` value is `block`, but the /// hypothetical box is inline. - fn build_fragment_for_absolutely_positioned_inline(&mut self, node: &ConcreteThreadSafeLayoutNode) + fn build_fragment_for_absolutely_positioned_inline(&mut self, + node: &ConcreteThreadSafeLayoutNode) -> ConstructionResult { let block_flow_result = self.build_flow_for_block(node, None); let (block_flow, abs_descendants) = match block_flow_result { |