diff options
author | Michael Orlitzky <michael@orlitzky.com> | 2023-11-19 20:43:26 -0500 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2023-12-16 16:54:19 +0000 |
commit | 536334ab63a89cdf54cb6055391dffa94d6e3cf0 (patch) | |
tree | 1e50a4e4584577192349d4afa9cb7a62611e7772 /src/parse/properties | |
parent | 76ccb5b60d67b5ff96d48bfe12aa04787c5b1f99 (diff) | |
download | libcss-536334ab63a89cdf54cb6055391dffa94d6e3cf0.tar.gz libcss-536334ab63a89cdf54cb6055391dffa94d6e3cf0.tar.bz2 |
src/select/dispatch.c: fill-opacity and stroke-opacity are inherited
These two SVG properties were copied from the CSS4 "opacity" property
that is not inherited:
https://www.w3.org/TR/css-color-4/#transparency
However, both fill-opacity and stroke-opacity _are_ inherited:
https://www.w3.org/TR/SVG2/painting.html#FillOpacity
https://www.w3.org/TR/SVG2/painting.html#StrokeOpacity
To fix the copy-paste error, this commit toggles the "inherited" bit
in the dispatch table for those two properties.
Diffstat (limited to 'src/parse/properties')
0 files changed, 0 insertions, 0 deletions