Skip to content

Commit

Permalink
Adding some missing attrs to DASHED_ATTRIBUTES (#126)
Browse files Browse the repository at this point in the history
I noticed that some attributes were missing from DASHED_ATTRIBUTES.
These are listed here https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute
  • Loading branch information
lucasea777 committed Aug 22, 2020
1 parent 7d6026c commit 63c8a34
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dominate/svg.py
Expand Up @@ -48,9 +48,10 @@
])

DASHED_ATTRIBUTES = set([
'accent', 'arabic', 'baseline', 'cap', 'clip', 'color', 'enable', 'fill', 'flood', 'font', 'glyph',
'horiz', 'image', 'letter', 'lighting', 'marker', 'panose', 'paint', 'pointer', 'shape', 'stop',
'stroke', 'text', 'unicode', 'units', 'v', 'vert', 'x'
'accent', 'alignment', 'arabic', 'baseline', 'cap', 'clip', 'color', 'dominant', 'enable', 'fill', 'flood',
'font', 'glyph', 'horiz', 'image', 'letter', 'lighting', 'marker', 'overline', 'paint', 'panose', 'pointer',
'rendering', 'shape', 'stop', 'strikethrough', 'stroke', 'text', 'underline', 'unicode', 'units', 'v', 'vector',
'vert', 'word', 'writing', 'x'
])


Expand Down

0 comments on commit 63c8a34

Please sign in to comment.