From 53279596db7e3bf2fbfd457780cebc6435c646c1 Mon Sep 17 00:00:00 2001 From: cku Date: Thu, 27 Apr 2017 00:06:09 +0800 Subject: [PATCH] Stylo: Make sure that the URL stylo parse for border-image-source is propagated to Gecko computed style. --- components/style/properties/gecko.mako.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index fc40dcff52da..69b6cbf16720 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -944,9 +944,7 @@ fn static_assert() { } if let Some(image) = v.0 { - // TODO: We need to make border-image-source match with background-image - // until then we are setting with_url to false - self.gecko.mBorderImageSource.set(image, false, &mut false) + self.gecko.mBorderImageSource.set(image, true, &mut false) } }