mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
style: Centralize specified url value handling, and refcount urls.
This commit is contained in:
parent
89c46369a2
commit
5f2e7af864
22 changed files with 267 additions and 187 deletions
|
@ -368,7 +368,7 @@ impl LayoutElementHelpers for LayoutJS<Element> {
|
|||
PropertyDeclaration::BackgroundImage(DeclaredValue::Value(
|
||||
background_image::SpecifiedValue(vec![
|
||||
background_image::single_value::SpecifiedValue(Some(
|
||||
specified::Image::Url(url, specified::UrlExtraData { })
|
||||
specified::Image::for_cascade(Some(Arc::new(url)), specified::url::UrlExtraData { })
|
||||
))
|
||||
])))));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue