mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Store UrlExtraData in {specified,computed}::Image::Url.
This commit is contained in:
parent
00677e27fd
commit
baa339f4af
5 changed files with 50 additions and 12 deletions
|
@ -347,7 +347,8 @@ impl LayoutElementHelpers for LayoutJS<Element> {
|
|||
if let Some(url) = background {
|
||||
hints.push(from_declaration(
|
||||
PropertyDeclaration::BackgroundImage(DeclaredValue::Value(
|
||||
background_image::SpecifiedValue(Some(specified::Image::Url(url)))))));
|
||||
background_image::SpecifiedValue(Some(
|
||||
specified::Image::Url(url, specified::UrlExtraData { })))))));
|
||||
}
|
||||
|
||||
let color = if let Some(this) = self.downcast::<HTMLFontElement>() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue