Browse Source

Removed unnecessary extra copy of _MACROS

pull/8/head
jaraco 15 years ago
parent
commit
a3c34ab9d0
  1. 5
      svg/charts/css.py

5
svg/charts/css.py

@ -2,12 +2,11 @@ import cssutils
SVG = 'SVG 1.1' # http://www.w3.org/TR/SVG11/styling.html
macros = cssutils.profile._MACROS.copy()
macros.update({
macros = {
'paint': 'none|currentColor|{color}',
# spec actually says length, but our length macro requires units, so use positivenum
'dasharray': '{positivenum}(\s*,\s*{positivenum})*',
})
}
properties = {
'stroke': '{paint}',
'fill': '{paint}',

Loading…
Cancel
Save