diff options
author | Moonchild <moonchild@palemoon.org> | 2021-06-12 01:12:39 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-06-12 01:12:39 +0000 |
commit | c337c1496b4cdcdab3b3c52a9ad8c627b52e06a1 (patch) | |
tree | 81a4e8b9065685ce81c621eb5c4c75d7339806a1 /layout/style/nsCSSPropList.h | |
parent | 7f6f1c664d19e0dedbbd92dc7694561121f26edf (diff) | |
download | uxp-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.h | 2 |
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) |