@samitouri / QOS-React-2 / commits / aebb3261ee

Add support for SVG ellipse elements.

Closes #1675

Brandon Bloom committed Jun 11, 2014 at 13:19 UTC aebb3261ee1efef929454ac7b08743294cce2a3d
3 files changed +4 -1
docs/docs/ref-04-tags-and-attributes.md
+1 -1
@@ -31,7 +31,7 @@ thead time title tr track u ul var video wbr
31 The following SVG elements are supported:
32
33 ```
34 -circle defs g line linearGradient path polygon polyline radialGradient rect
34 +circle defs ellipse g line linearGradient path polygon polyline radialGradient rect
35 stop svg text
36 ```
37
src/browser/ReactDOM.js
+1
@@ -174,6 +174,7 @@ var ReactDOM = mapObject({
174 // SVG
175 circle: false,
176 defs: false,
177 + ellipse: false,
178 g: false,
179 line: false,
180 linearGradient: false,
src/vendor/core/getMarkupWrap.js
+2
@@ -37,6 +37,7 @@ var shouldWrap = {
37 // they will be initialized in the wrong namespace (and will not display).
38 'circle': true,
39 'defs': true,
40 + 'ellipse': true,
41 'g': true,
42 'line': true,
43 'linearGradient': true,
@@ -78,6 +79,7 @@ var markupWrap = {
79
80 'circle': svgWrap,
81 'defs': svgWrap,
82 + 'ellipse': svgWrap,
83 'g': svgWrap,
84 'line': svgWrap,
85 'linearGradient': svgWrap,