mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
stylo: Add -moz-element support
This commit is contained in:
parent
e0731215c0
commit
9618363e08
5 changed files with 64 additions and 4 deletions
|
@ -657,6 +657,9 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
Some(computed::Image::ImageRect(_)) => {
|
||||
// TODO: Implement `-moz-image-rect`
|
||||
}
|
||||
Some(computed::Image::Element(_)) => {
|
||||
// TODO: Implement `-moz-element`
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1154,6 +1157,9 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
Some(computed::Image::ImageRect(..)) => {
|
||||
// TODO: Handle border-image with `-moz-image-rect`.
|
||||
}
|
||||
Some(computed::Image::Element(..)) => {
|
||||
// TODO: Handle border-image with `-moz-element`.
|
||||
}
|
||||
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