summaryrefslogtreecommitdiff
path: root/src/select/select_config.py
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 /src/select/select_config.py
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 'src/select/select_config.py')
-rw-r--r--src/select/select_config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/select/select_config.py b/src/select/select_config.py
index 5feed6c..1cfe05c 100644
--- a/src/select/select_config.py
+++ b/src/select/select_config.py
@@ -96,6 +96,7 @@ style = {
('min_width', 2, 'length', 'CSS_MIN_WIDTH_SET'),
('opacity', 1, 'fixed', 'CSS_OPACITY_SET'),
('fill_opacity', 1, 'fixed', 'CSS_FILL_OPACITY_SET'),
+ ('stroke_opacity', 1, 'fixed', 'CSS_STROKE_OPACITY_SET'),
('order', 1, 'integer', 'CSS_ORDER_SET'),
('padding_top', 1, 'length', 'CSS_PADDING_SET'),
('padding_right', 1, 'length', 'CSS_PADDING_SET'),