Some more SVG attributes for the sanitizer
From Sam Ruby.
This commit is contained in:
parent
c427807274
commit
e1c7d035c9
|
@ -48,9 +48,9 @@ module Sanitizer
|
||||||
svg_attributes = %w[accent-height accumulate additive alphabetic
|
svg_attributes = %w[accent-height accumulate additive alphabetic
|
||||||
arabic-form ascent attributeName attributeType baseProfile bbox begin
|
arabic-form ascent attributeName attributeType baseProfile bbox begin
|
||||||
by calcMode cap-height class color color-rendering content cx cy d dx
|
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
|
dy descent display dur end fill fill-opacity fill-rule font-family
|
||||||
font-stretch font-style font-variant font-weight from fx fy g1 g2
|
font-size font-stretch font-style font-variant font-weight from fx fy g1
|
||||||
glyph-name gradientUnits hanging height horiz-adv-x horiz-origin-x id
|
g2 glyph-name gradientUnits hanging height horiz-adv-x horiz-origin-x id
|
||||||
ideographic k keyPoints keySplines keyTimes lang marker-end
|
ideographic k keyPoints keySplines keyTimes lang marker-end
|
||||||
marker-mid marker-start markerHeight markerUnits markerWidth
|
marker-mid marker-start markerHeight markerUnits markerWidth
|
||||||
mathematical max min name offset opacity orient origin
|
mathematical max min name offset opacity orient origin
|
||||||
|
|
|
@ -57,9 +57,9 @@ module HTML5
|
||||||
SVG_ATTRIBUTES = %w[accent-height accumulate additive alphabetic
|
SVG_ATTRIBUTES = %w[accent-height accumulate additive alphabetic
|
||||||
arabic-form ascent attributeName attributeType baseProfile bbox begin
|
arabic-form ascent attributeName attributeType baseProfile bbox begin
|
||||||
by calcMode cap-height class color color-rendering content cx cy d dx
|
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
|
dy descent display dur end fill fill-opacity fill-rule font-family
|
||||||
font-stretch font-style font-variant font-weight from fx fy g1 g2
|
font-size font-stretch font-style font-variant font-weight from fx fy g1
|
||||||
glyph-name gradientUnits hanging height horiz-adv-x horiz-origin-x id
|
g2 glyph-name gradientUnits hanging height horiz-adv-x horiz-origin-x id
|
||||||
ideographic k keyPoints keySplines keyTimes lang marker-end
|
ideographic k keyPoints keySplines keyTimes lang marker-end
|
||||||
marker-mid marker-start markerHeight markerUnits markerWidth
|
marker-mid marker-start markerHeight markerUnits markerWidth
|
||||||
mathematical max min name offset opacity orient origin
|
mathematical max min name offset opacity orient origin
|
||||||
|
|
Loading…
Reference in a new issue