From 5d38c0ecfec13c88918ffc42e5e74a0453173f50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Wed, 9 Mar 2016 10:50:13 -0800 Subject: [PATCH] Revert "Merge pull request #5736 from gaearon/document-svg-passthrough" This reverts commit 713401f2eb4b892f872ec61b15fdb597c4eeaae6, reversing changes made to 53dabe748c6817cbb7b43f975e24b61331011077. --- docs/ref-04-tags-and-attributes.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/ref-04-tags-and-attributes.md b/docs/ref-04-tags-and-attributes.md index 8481c75b..6cb72072 100644 --- a/docs/ref-04-tags-and-attributes.md +++ b/docs/ref-04-tags-and-attributes.md @@ -86,6 +86,13 @@ There is also the React-specific attribute `dangerouslySetInnerHTML` ([more here ### SVG Attributes -Any attributes passed to SVG tags are passed through without changes. - -React used to support special camelCase aliases for certain SVG attributes, such as `clipPath`. If you use them now you'll see a deprecation warning. These aliases will be removed in the next version in favor of their real names from the SVG specification, such as `clip-path`. Attributes that have a camelCase name in the spec, such as `gradientTransform`, will keep their names. +``` +clipPath cx cy d dx dy fill fillOpacity fontFamily +fontSize fx fy gradientTransform gradientUnits markerEnd +markerMid markerStart offset opacity patternContentUnits +patternUnits points preserveAspectRatio r rx ry spreadMethod +stopColor stopOpacity stroke strokeDasharray strokeLinecap +strokeOpacity strokeWidth textAnchor transform version +viewBox x1 x2 x xlinkActuate xlinkArcrole xlinkHref xlinkRole +xlinkShow xlinkTitle xlinkType xmlBase xmlLang xmlSpace y1 y2 y +```