Store UrlExtraData in {specified,computed}::Image::Url.

This commit is contained in:
Cameron McCormack 2016-07-29 14:22:35 +08:00
parent 00677e27fd
commit baa339f4af
5 changed files with 50 additions and 12 deletions

View file

@ -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>() {