From fb810c08dc4750b271a954d6fdd5af7456741979 Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Mon, 6 Oct 2014 14:39:48 -0700 Subject: [PATCH] Remove trailing whitespace The Mach test runner doesn't actually make these failures yet, which is tracked by #3482. --- components/layout/fragment.rs | 2 +- components/layout/wrapper.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/layout/fragment.rs b/components/layout/fragment.rs index f0c87eae068..dbf56c86b77 100644 --- a/components/layout/fragment.rs +++ b/components/layout/fragment.rs @@ -1537,7 +1537,7 @@ impl Fragment { match self.specific { InlineAbsoluteHypotheticalFragment(ref mut info) => { let block_flow = info.flow_ref.get_mut().as_block(); - block_flow.base.position.size.inline = + block_flow.base.position.size.inline = block_flow.base.intrinsic_inline_sizes.preferred_inline_size + block_flow.base.intrinsic_inline_sizes.surround_inline_size; diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs index 2c31186846c..40a77935129 100644 --- a/components/layout/wrapper.rs +++ b/components/layout/wrapper.rs @@ -187,7 +187,7 @@ impl<'ln> TLayoutNode for LayoutNode<'ln> { unsafe { if self.get().is_text() { let text: JS = self.get_jsmanaged().transmute_copy(); - (*text.unsafe_get()).characterdata.data.borrow().clone() + (*text.unsafe_get()).characterdata.data.borrow().clone() } else if self.get().is_htmlinputelement() { let input: JS = self.get_jsmanaged().transmute_copy(); input.get_value_for_layout()