summaryrefslogtreecommitdiff
path: root/layout/style/nsCSSPropList.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-06-12 01:12:39 +0000
committerMoonchild <moonchild@palemoon.org>2021-06-12 01:12:39 +0000
commitc337c1496b4cdcdab3b3c52a9ad8c627b52e06a1 (patch)
tree81a4e8b9065685ce81c621eb5c4c75d7339806a1 /layout/style/nsCSSPropList.h
parent7f6f1c664d19e0dedbbd92dc7694561121f26edf (diff)
downloaduxp-c337c1496b4cdcdab3b3c52a9ad8c627b52e06a1.tar.gz
Issue #1781 - Part 1: support calc() in stroke-dashoffset CSS
This adds basic calc() support to stroke-dashoffset. It does not provide CSS animation (yet, todo for part 2)
Diffstat (limited to 'layout/style/nsCSSPropList.h')
-rw-r--r--layout/style/nsCSSPropList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/style/nsCSSPropList.h b/layout/style/nsCSSPropList.h
index e78dafcc5c..f0cab6b131 100644
--- a/layout/style/nsCSSPropList.h
+++ b/layout/style/nsCSSPropList.h
@@ -3816,7 +3816,7 @@ CSS_PROP_SVG(
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_NUMBERS_ARE_PIXELS,
"",
- VARIANT_HLPN | VARIANT_OPENTYPE_SVG_KEYWORD,
+ VARIANT_HLPN | VARIANT_OPENTYPE_SVG_KEYWORD | VARIANT_CALC,
kStrokeContextValueKTable,
offsetof(nsStyleSVG, mStrokeDashoffset),
eStyleAnimType_Coord)