summaryrefslogtreecommitdiff
path: root/include/libcss/computed.h
diff options
context:
space:
mode:
authorMichael Orlitzky <michael@orlitzky.com>2023-09-18 15:04:24 -0400
committerJohn-Mark Bell <jmb@netsurf-browser.org>2023-10-01 10:47:44 +0100
commit76ccb5b60d67b5ff96d48bfe12aa04787c5b1f99 (patch)
treeae7fad2975d23e4c0c307117bd2fb0617e244802 /include/libcss/computed.h
parentd6e9f636d693fb129b373862d69ae85c861049f0 (diff)
downloadlibcss-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 'include/libcss/computed.h')
-rw-r--r--include/libcss/computed.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libcss/computed.h b/include/libcss/computed.h
index c3aa922..5d9cc7e 100644
--- a/include/libcss/computed.h
+++ b/include/libcss/computed.h
@@ -342,6 +342,10 @@ uint8_t css_computed_fill_opacity(
const css_computed_style *style,
css_fixed *fill_opacity);
+uint8_t css_computed_stroke_opacity(
+ const css_computed_style *style,
+ css_fixed *stroke_opacity);
+
uint8_t css_computed_text_transform(
const css_computed_style *style);