diff options
author | Michael Orlitzky <michael@orlitzky.com> | 2023-09-18 10:36:48 -0400 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2023-10-01 10:47:37 +0100 |
commit | d6e9f636d693fb129b373862d69ae85c861049f0 (patch) | |
tree | 51405100b1691bee9043088a2d3e406ec85111af /src/select/computed.c | |
parent | 20de9212123bd14efa8f1fd500765038be3851bf (diff) | |
download | libcss-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 'src/select/computed.c')
-rw-r--r-- | src/select/computed.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/select/computed.c b/src/select/computed.c index c257f17..a0c92bb 100644 --- a/src/select/computed.c +++ b/src/select/computed.c @@ -810,6 +810,12 @@ uint8_t css_computed_opacity(const css_computed_style *style, return get_opacity(style, opacity); } +uint8_t css_computed_fill_opacity(const css_computed_style *style, + css_fixed *fill_opacity) +{ + return get_fill_opacity(style, fill_opacity); +} + uint8_t css_computed_text_transform(const css_computed_style *style) { return get_text_transform(style); |