mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add support for -moz-image-rect
This commit is contained in:
parent
645971b387
commit
494238ab29
7 changed files with 169 additions and 9 deletions
|
@ -611,6 +611,9 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
i);
|
||||
}
|
||||
}
|
||||
Some(computed::Image::ImageRect(_)) => {
|
||||
// TODO: Implement `-moz-image-rect`
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1076,6 +1079,9 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
Some(computed::Image::Gradient(..)) => {
|
||||
// TODO(gw): Handle border-image with gradient.
|
||||
}
|
||||
Some(computed::Image::ImageRect(..)) => {
|
||||
// TODO: Handle border-image with `-moz-image-rect`.
|
||||
}
|
||||
Some(computed::Image::Url(ref image_url)) => {
|
||||
if let Some(url) = image_url.url() {
|
||||
let webrender_image = state.layout_context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue