Add fill-opacity

This commit is contained in:
Sam Ruby 2008-02-18 10:59:21 -05:00
parent 724e729f1c
commit 935f4107cb

View File

@ -11,8 +11,8 @@ Recommended: Python 2.3 or later
Recommended: CJKCodecs and iconv_codec <http://cjkpython.i18n.org/> Recommended: CJKCodecs and iconv_codec <http://cjkpython.i18n.org/>
""" """
__version__ = "4.2-pre-" + "$Revision: 274 $"[11:14] + "-svn" __version__ = "4.2-pre-" + "$Revision: 276 $"[11:14] + "-svn"
__license__ = """Copyright (c) 2002-2007, Mark Pilgrim, All rights reserved. __license__ = """Copyright (c) 2002-2008, Mark Pilgrim, All rights reserved.
Redistribution and use in source and binary forms, with or without modification, Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met: are permitted provided that the following conditions are met:
@ -2362,29 +2362,29 @@ class _HTMLSanitizer(_BaseHTMLProcessor):
'arabic-form', 'ascent', 'attributeName', 'attributeType', 'arabic-form', 'ascent', 'attributeName', 'attributeType',
'baseProfile', 'bbox', 'begin', 'by', 'calcMode', 'cap-height', 'baseProfile', 'bbox', 'begin', 'by', 'calcMode', 'cap-height',
'class', 'color', 'color-rendering', 'content', 'cx', 'cy', 'd', 'dx', 'class', 'color', 'color-rendering', 'content', 'cx', 'cy', 'd', 'dx',
'dy', 'descent', 'display', 'dur', 'end', 'fill', 'fill-rule', 'dy', 'descent', 'display', 'dur', 'end', 'fill', 'fill-opacity',
'font-family', 'font-size', 'font-stretch', 'font-style', 'font-variant', 'fill-rule', 'font-family', 'font-size', 'font-stretch', 'font-style',
'font-weight', 'from', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'font-variant', 'font-weight', 'from', 'fx', 'fy', 'g1', 'g2',
'gradientUnits', 'hanging', 'height', 'horiz-adv-x', 'horiz-origin-x', 'glyph-name', 'gradientUnits', 'hanging', 'height', 'horiz-adv-x',
'id', 'ideographic', 'k', 'keyPoints', 'keySplines', 'keyTimes', 'horiz-origin-x', 'id', 'ideographic', 'k', 'keyPoints', 'keySplines',
'lang', 'mathematical', 'marker-end', 'marker-mid', 'marker-start', 'keyTimes', 'lang', 'mathematical', 'marker-end', 'marker-mid',
'markerHeight', 'markerUnits', 'markerWidth', 'max', 'min', 'name', 'marker-start', 'markerHeight', 'markerUnits', 'markerWidth', 'max',
'offset', 'opacity', 'orient', 'origin', 'overline-position', 'min', 'name', 'offset', 'opacity', 'orient', 'origin',
'overline-thickness', 'panose-1', 'path', 'pathLength', 'points', 'overline-position', 'overline-thickness', 'panose-1', 'path',
'preserveAspectRatio', 'r', 'refX', 'refY', 'repeatCount', 'repeatDur', 'pathLength', 'points', 'preserveAspectRatio', 'r', 'refX', 'refY',
'requiredExtensions', 'requiredFeatures', 'restart', 'rotate', 'rx', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures',
'ry', 'slope', 'stemh', 'stemv', 'stop-color', 'stop-opacity', 'restart', 'rotate', 'rx', 'ry', 'slope', 'stemh', 'stemv',
'strikethrough-position', 'strikethrough-thickness', 'stroke', 'stop-color', 'stop-opacity', 'strikethrough-position',
'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'strikethrough-thickness', 'stroke', 'stroke-dasharray',
'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin',
'stroke-width', 'systemLanguage', 'target', 'text-anchor', 'to', 'stroke-miterlimit', 'stroke-opacity', 'stroke-width', 'systemLanguage',
'transform', 'type', 'u1', 'u2', 'underline-position', 'target', 'text-anchor', 'to', 'transform', 'type', 'u1', 'u2',
'underline-thickness', 'unicode', 'unicode-range', 'units-per-em', 'underline-position', 'underline-thickness', 'unicode', 'unicode-range',
'values', 'version', 'viewBox', 'visibility', 'width', 'widths', 'x', 'units-per-em', 'values', 'version', 'viewBox', 'visibility', 'width',
'x-height', 'x1', 'x2', 'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'widths', 'x', 'x-height', 'x1', 'x2', 'xlink:actuate', 'xlink:arcrole',
'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type',
'xml:lang', 'xml:space', 'xmlns', 'xmlns:xlink', 'y', 'y1', 'y2', 'xml:base', 'xml:lang', 'xml:space', 'xmlns', 'xmlns:xlink', 'y', 'y1',
'zoomAndPan'] 'y2', 'zoomAndPan']
svg_attr_map = None svg_attr_map = None
svg_elem_map = None svg_elem_map = None