Parse -moz-image-rect() and -moz-element() only in Gecko

This commit is contained in:
Simon Sapin 2019-10-24 17:47:23 +02:00
parent 709e06928a
commit 062c1872f0
5 changed files with 59 additions and 17 deletions

View file

@ -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 {}
},
}
}