Some more SVG attributes for the sanitizer

From Sam Ruby.
This commit is contained in:
Jacques Distler 2008-07-28 10:57:55 -05:00
parent c427807274
commit e1c7d035c9
2 changed files with 6 additions and 6 deletions

View file

@ -48,9 +48,9 @@ module Sanitizer
svg_attributes = %w[accent-height accumulate additive alphabetic
arabic-form ascent attributeName attributeType baseProfile bbox begin
by calcMode cap-height class color color-rendering content cx cy d dx
dy descent display dur end fill fill-rule font-family font-size
font-stretch font-style font-variant font-weight from fx fy g1 g2
glyph-name gradientUnits hanging height horiz-adv-x horiz-origin-x id
dy descent display dur end fill fill-opacity fill-rule font-family
font-size font-stretch font-style font-variant font-weight from fx fy g1
g2 glyph-name gradientUnits hanging height horiz-adv-x horiz-origin-x id
ideographic k keyPoints keySplines keyTimes lang marker-end
marker-mid marker-start markerHeight markerUnits markerWidth
mathematical max min name offset opacity orient origin

View file

@ -57,9 +57,9 @@ module HTML5
SVG_ATTRIBUTES = %w[accent-height accumulate additive alphabetic
arabic-form ascent attributeName attributeType baseProfile bbox begin
by calcMode cap-height class color color-rendering content cx cy d dx
dy descent display dur end fill fill-rule font-family font-size
font-stretch font-style font-variant font-weight from fx fy g1 g2
glyph-name gradientUnits hanging height horiz-adv-x horiz-origin-x id
dy descent display dur end fill fill-opacity fill-rule font-family
font-size font-stretch font-style font-variant font-weight from fx fy g1
g2 glyph-name gradientUnits hanging height horiz-adv-x horiz-origin-x id
ideographic k keyPoints keySplines keyTimes lang marker-end
marker-mid marker-start markerHeight markerUnits markerWidth
mathematical max min name offset opacity orient origin