Browse Source

Override length to coincide with the definition given in SVG spec

pull/8/head
jaraco 16 years ago
parent
commit
112ae84831
  1. 3
      svg/charts/css.py

3
svg/charts/css.py

@ -4,7 +4,8 @@ SVG = 'SVG 1.1' # http://www.w3.org/TR/SVG11/styling.html
macros = { macros = {
'paint': 'none|currentColor|{color}', 'paint': 'none|currentColor|{color}',
# spec actually says length, but our length macro requires units, so use positivenum 'unitidentifier': 'em|ex|px|pt|pc|cm|mm|in|%',
'length': '{positivenum}({unitidentifier})?',
'dasharray': '{positivenum}(\s*,\s*{positivenum})*', 'dasharray': '{positivenum}(\s*,\s*{positivenum})*',
} }
properties = { properties = {

Loading…
Cancel
Save