summaryrefslogtreecommitdiff
path: root/include/libcss/computed.h
diff options
context:
space:
mode:
authorMichael Orlitzky <michael@orlitzky.com>2023-09-18 10:36:48 -0400
committerJohn-Mark Bell <jmb@netsurf-browser.org>2023-10-01 10:47:37 +0100
commitd6e9f636d693fb129b373862d69ae85c861049f0 (patch)
tree51405100b1691bee9043088a2d3e406ec85111af /include/libcss/computed.h
parent20de9212123bd14efa8f1fd500765038be3851bf (diff)
downloadlibcss-d6e9f636d693fb129b373862d69ae85c861049f0.tar.gz
libcss-d6e9f636d693fb129b373862d69ae85c861049f0.tar.bz2
Add support for SVG fill-opacity property
https://www.w3.org/TR/SVGTiny12/painting.html#FillOpacityProperty This property is unique to SVG documents, but is otherwise analogous to the usual CSS "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 30e369b..c3aa922 100644
--- a/include/libcss/computed.h
+++ b/include/libcss/computed.h
@@ -338,6 +338,10 @@ uint8_t css_computed_opacity(
const css_computed_style *style,
css_fixed *opacity);
+uint8_t css_computed_fill_opacity(
+ const css_computed_style *style,
+ css_fixed *fill_opacity);
+
uint8_t css_computed_text_transform(
const css_computed_style *style);