mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Parse -moz-image-rect()
and -moz-element()
only in Gecko
This commit is contained in:
parent
709e06928a
commit
062c1872f0
5 changed files with 59 additions and 17 deletions
|
@ -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 {}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue