static css_error node_is_target(void *pw, void *node, bool *is_target);
static css_error node_is_lang(void *pw, void *node,
lwc_string *lang, bool *is_lang);
+static css_error ua_default_for_property(void *pw, uint32_t property,
+ css_hint *hint);
/**
lwc_string_destroy(attr.name);
return CSS_OK;
}
+
+
+/**
+ * User-agent defaults for CSS properties
+ *
+ * For the moment, we provide no defaults, because libsvgtiny does not
+ * yet support any CSS properties that might need them.
+ *
+ * \param pw Pointer to the current SVG parser state; unused
+ * \param property LibCSS property identifier; unused
+ * \param hint Pointer to hint object (a return value); unused
+ *
+ * \return Always returns CSS_INVALID
+ */
+css_error ua_default_for_property(void *pw, uint32_t property,
+ css_hint *hint)
+{
+ UNUSED(pw);
+ UNUSED(property);
+ UNUSED(hint);
+ return CSS_INVALID;
+}