@samitouri / QOS-React-2 / commits / 55b7c387da

Update supported elements and properties [skip ci]

Paul O’Shannessy committed Jul 10, 2014 at 20:04 UTC 55b7c387dab0bf1d64dd511bfb3f87bb84d12293
1 file changed +20 -17
docs/docs/ref-04-tags-and-attributes.md
+20 -17
@@ -19,11 +19,11 @@ The following HTML elements are supported:
19 a abbr address area article aside audio b base bdi bdo big blockquote body br
20 button canvas caption cite code col colgroup data datalist dd del details dfn
21 div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6
22 -head header hr html i iframe img input ins kbd keygen label legend li link
23 -main map mark menu menuitem meta meter nav noscript object ol optgroup option
24 -output p param pre progress q rp rt ruby s samp script section select small
25 -source span strong style sub summary sup table tbody td textarea tfoot th
26 -thead time title tr track u ul var video wbr
22 +head header hr html i iframe img input ins kbd keygen label legend li link main
23 +map mark menu menuitem meta meter nav noscript object ol optgroup option output
24 +p param pre progress q rp rt ruby s samp script section select small source
25 +span strong style sub summary sup table tbody td textarea tfoot th thead time
26 +title tr track u ul var video wbr
27 ```
28
29 ### SVG elements
@@ -31,8 +31,8 @@ thead time title tr track u ul var video wbr
31 The following SVG elements are supported:
32
33 ```
34 -circle defs ellipse g line linearGradient path polygon polyline radialGradient rect
35 -stop svg text
34 +circle defs ellipse g line linearGradient mask path pattern polygon polyline
35 +radialGradient rect stop svg text tspan
36 ```
37
38 You may also be interested in [react-art](https://github.com/facebook/react-art), a drawing library for React that can render to Canvas, SVG, or VML (for IE8).
@@ -55,13 +55,14 @@ These standard attributes are supported:
55 ```
56 accept accessKey action allowFullScreen allowTransparency alt async
57 autoComplete autoFocus autoPlay cellPadding cellSpacing charSet checked
58 -className colSpan cols content contentEditable contextMenu controls data
59 -dateTime defer dir disabled draggable encType form formNoValidate frameBorder
60 -height hidden href htmlFor httpEquiv icon id label lang list loop max
61 -maxLength method min multiple name noValidate pattern placeholder poster
62 -preload radioGroup readOnly rel required role rowSpan rows sandbox scope
63 -scrollLeft scrollTop seamless selected size span spellCheck src srcDoc step
64 -style tabIndex target title type value width wmode
58 +className cols colSpan content contentEditable contextMenu controls coords
59 +crossOrigin data dateTime defer dir disabled download draggable encType form
60 +formNoValidate frameBorder height hidden href hrefLang htmlFor httpEquiv icon
61 +id label lang list loop max maxLength mediaGroup method min multiple muted name
62 +noValidate pattern placeholder poster preload radioGroup readOnly rel required
63 +role rows rowSpan sandbox scope scrollLeft scrolling scrollTop seamless
64 +selected shape size span spellCheck src srcDoc srcSet start step style tabIndex
65 +target title type useMap value width wmode
66 ```
67
68 In addition, the following non-standard attributes are supported:
@@ -75,7 +76,9 @@ There is also the React-specific attribute `dangerouslySetInnerHTML` ([more here
76 ### SVG Attributes
77
78 ```
78 -cx cy d dx dy fill fx fy gradientTransform gradientUnits offset points r rx ry
79 -spreadMethod stopColor stopOpacity stroke strokeLinecap strokeWidth textAnchor transform
80 -version viewBox x1 x2 x y1 y2 y
79 +cx cy d dx dy fill fillOpacity fontFamily fontSize fx fy gradientTransform
80 +gradientUnits markerEnd markerMid markerStart offset opacity
81 +patternContentUnits patternUnits points preserveAspectRatio r rx ry
82 +spreadMethod stopColor stopOpacity stroke strokeDasharray strokeLinecap
83 +strokeOpacity strokeWidth textAnchor transform version viewBox x1 x2 x y1 y2 y
84 ```