diff options
author | Michael Orlitzky <michael@orlitzky.com> | 2023-09-18 15:04:24 -0400 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2023-10-01 10:47:44 +0100 |
commit | 76ccb5b60d67b5ff96d48bfe12aa04787c5b1f99 (patch) | |
tree | ae7fad2975d23e4c0c307117bd2fb0617e244802 /test/data/parse2 | |
parent | d6e9f636d693fb129b373862d69ae85c861049f0 (diff) | |
download | libcss-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 'test/data/parse2')
-rw-r--r-- | test/data/parse2/svg.dat | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/test/data/parse2/svg.dat b/test/data/parse2/svg.dat index 19839c7..e5ee2a3 100644 --- a/test/data/parse2/svg.dat +++ b/test/data/parse2/svg.dat @@ -37,3 +37,43 @@ | * | fill-opacity: 1 #reset + +#data +* { stroke-opacity: inherit; } +#errors +#expected +| * +| stroke-opacity: inherit +#reset + +#data +* { stroke-opacity: revert; } +#errors +#expected +| * +| stroke-opacity: revert +#reset + +#data +* { stroke-opacity: 0.00000; } +#errors +#expected +| * +| stroke-opacity: 0 +#reset + +#data +* { stroke-opacity: -0.5; } +#errors +#expected +| * +| stroke-opacity: 0 +#reset + +#data +* { stroke-opacity: 5; } +#errors +#expected +| * +| stroke-opacity: 1 +#reset |