diff options
author | Michael Orlitzky <michael@orlitzky.com> | 2023-09-18 15:04:24 -0400 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2023-10-01 10:47:44 +0100 |
commit | 76ccb5b60d67b5ff96d48bfe12aa04787c5b1f99 (patch) | |
tree | ae7fad2975d23e4c0c307117bd2fb0617e244802 /src/select/dispatch.c | |
parent | d6e9f636d693fb129b373862d69ae85c861049f0 (diff) | |
download | libcss-76ccb5b60d67b5ff96d48bfe12aa04787c5b1f99.tar.gz libcss-76ccb5b60d67b5ff96d48bfe12aa04787c5b1f99.tar.bz2 |
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).
Diffstat (limited to 'src/select/dispatch.c')
-rw-r--r-- | src/select/dispatch.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, } }; |