We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c25dc commit 4905333Copy full SHA for 4905333
components/style/values/specified/effects.rs
@@ -297,13 +297,10 @@ impl Filter {
297
Err(())
298
}
299
},
300
- Filter::Url(ref url) => {
301
- if cfg!(feature = "gecko") {
302
- Ok(ComputedFilter::Url(ComputedUrl(url.clone())))
303
- } else {
304
- Err(())
305
- }
306
- },
+ #[cfg(feature = "gecko")]
+ Filter::Url(ref url) => Ok(ComputedFilter::Url(ComputedUrl(url.clone()))),
+ #[cfg(feature = "servo")]
+ Filter::Url(_) => Err(()),
307
308
309
0 commit comments