mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
auto merge of #3592 : zwarich/servo/trailing-whitespace, r=Manishearth
The Mach test runner doesn't actually make these failures yet, which is tracked by #3482.
This commit is contained in:
commit
ae946a9b76
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -187,7 +187,7 @@ impl<'ln> TLayoutNode for LayoutNode<'ln> {
|
|||
unsafe {
|
||||
if self.get().is_text() {
|
||||
let text: JS<Text> = 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<HTMLInputElement> = self.get_jsmanaged().transmute_copy();
|
||||
input.get_value_for_layout()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue