diff options
Diffstat (limited to 'components/layout')
-rw-r--r-- | components/layout/display_list/builder.rs | 2 | ||||
-rw-r--r-- | components/layout/floats.rs | 4 | ||||
-rw-r--r-- | components/layout/query.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/components/layout/display_list/builder.rs b/components/layout/display_list/builder.rs index 8f087e1c6c2..5fb9f89a77d 100644 --- a/components/layout/display_list/builder.rs +++ b/components/layout/display_list/builder.rs @@ -1787,7 +1787,7 @@ impl Fragment { clip, ); } - } + }, SpecificFragmentInfo::ScannedText(ref text_fragment) => { // Create the main text display item. self.build_display_list_for_text_fragment( diff --git a/components/layout/floats.rs b/components/layout/floats.rs index 42df4e07dfd..b629e2bb83c 100644 --- a/components/layout/floats.rs +++ b/components/layout/floats.rs @@ -217,7 +217,7 @@ impl Floats { max_inline_start is {:?}", max_inline_start ); - } + }, FloatKind::Right if float_pos.i < min_inline_end && float_pos.b + float_size.block > block_start && @@ -232,7 +232,7 @@ impl Floats { is {:?}", min_inline_end ); - } + }, FloatKind::Left | FloatKind::Right => {}, } } diff --git a/components/layout/query.rs b/components/layout/query.rs index a02a5c935c2..10d652f3b12 100644 --- a/components/layout/query.rs +++ b/components/layout/query.rs @@ -1037,7 +1037,7 @@ fn process_resolved_style_request_internal<'dom>( .result .map(|r| r.to_css_string()) .unwrap_or(String::new()) - } + }, LonghandId::Bottom | LonghandId::Top | LonghandId::Right | LonghandId::Left if applies && positioned && style.get_box().display != Display::None => |