From 76ccb5b60d67b5ff96d48bfe12aa04787c5b1f99 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 18 Sep 2023 15:04:24 -0400 Subject: Add support for SVG stroke-opacity property https://www.w3.org/TR/SVGTiny12/painting.html#StrokeOpacityProperty This property is unique to SVG documents, but is otherwise analogous to the usual CSS "opacity" property (and the recently-added SVG fill-opacity property). --- src/select/dispatch.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/select/dispatch.c') diff --git a/src/select/dispatch.c b/src/select/dispatch.c index c8efa44..74bc6ed 100644 --- a/src/select/dispatch.c +++ b/src/select/dispatch.c @@ -518,5 +518,9 @@ struct prop_table prop_dispatch[CSS_N_PROPERTIES] = { { PROPERTY_FUNCS(fill_opacity), 0, + }, + { + PROPERTY_FUNCS(stroke_opacity), + 0, } }; -- cgit v1.2.3