diff --git a/components/style/values/specified/ui.rs b/components/style/values/specified/ui.rs index d37fe647976..4594cbfcc77 100644 --- a/components/style/values/specified/ui.rs +++ b/components/style/values/specified/ui.rs @@ -11,7 +11,7 @@ use crate::values::specified::image::Image; use crate::values::specified::Number; use cssparser::Parser; use std::fmt::{self, Write}; -use style_traits::{CssWriter, ParseError, SpecifiedValueInfo, StyleParseErrorKind, ToCss}; +use style_traits::{CssWriter, KeywordsCollectFn, ParseError, SpecifiedValueInfo, StyleParseErrorKind, ToCss}; /// A specified value for the `cursor` property. pub type Cursor = generics::GenericCursor; @@ -69,8 +69,11 @@ impl Parse for CursorImage { // This trait is manually implemented because we don't support the whole // syntax for cursors -impl SpecifiedValueInfo for CursorImage {} - +impl SpecifiedValueInfo for CursorImage { + fn collect_completion_keywords(f: KeywordsCollectFn) { + f(&["url", "image-set"]); + } +} /// Specified value of `-moz-force-broken-image-icon` #[derive( Clone,