aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/display_list/builder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/display_list/builder.rs')
-rw-r--r--components/layout/display_list/builder.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/components/layout/display_list/builder.rs b/components/layout/display_list/builder.rs
index 542ab95172a..56748d55d2b 100644
--- a/components/layout/display_list/builder.rs
+++ b/components/layout/display_list/builder.rs
@@ -800,11 +800,9 @@ impl Fragment {
);
}
},
- Image::Rect(_) => {
- // TODO: Implement `-moz-image-rect`
- },
- Image::Element(_) => {
- // TODO: Implement `-moz-element`
+ Image::Rect(ref rect) => {
+ // This is a (boxed) empty enum on non-Gecko
+ match **rect {}
},
}
}