added dx and dy for laying out text with relative offsets
Stephen Murphy committed
Mar 26, 2014 at 16:57 UTC
94c2f961fdcea18b318d6179f0022c1bf3656551
2 files changed
+3
-1
docs/docs/ref-04-tags-and-attributes.md
+1
-1
@@ -71,7 +71,7 @@ There is also the React-specific attribute `dangerouslySetInnerHTML` ([more here
71
### SVG Attributes
72
73
```
74
-cx cy d fill fx fy gradientTransform gradientUnits offset points r rx ry
74
+cx cy d dx dy fill fx fy gradientTransform gradientUnits offset points r rx ry
75
spreadMethod stopColor stopOpacity stroke strokeLinecap strokeWidth textAnchor transform
76
version viewBox x1 x2 x y1 y2 y
77
```
src/browser/ui/dom/DefaultDOMPropertyConfig.js
+2
@@ -138,6 +138,8 @@ var DefaultDOMPropertyConfig = {
138
cx: MUST_USE_ATTRIBUTE,
139
cy: MUST_USE_ATTRIBUTE,
140
d: MUST_USE_ATTRIBUTE,
141
+ dx: MUST_USE_ATTRIBUTE,
142
+ dy: MUST_USE_ATTRIBUTE,
143
fill: MUST_USE_ATTRIBUTE,
144
fx: MUST_USE_ATTRIBUTE,
145
fy: MUST_USE_ATTRIBUTE,