[docs] Update supported attributes list
Fixes #1008.
Ben Alpert committed
Feb 13, 2014 at 21:47 UTC
80cbdea1447deb96be7185568f9adb5169585769
1 file changed
+10
-11
docs/docs/ref-04-tags-and-attributes.md
+10
-11
@@ -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 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
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
27
```
28
29
### SVG elements
@@ -31,9 +31,8 @@ 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 stop
35
-svg text
36
-
34
+circle defs g line linearGradient path polygon polyline radialGradient rect
35
+stop svg text
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).
@@ -58,11 +57,11 @@ className colSpan content contentEditable contextMenu controls data dateTime
57
dir disabled draggable encType form frameBorder height hidden href htmlFor
58
httpEquiv icon id label lang list loop max maxLength method min multiple name
59
pattern placeholder poster preload radioGroup readOnly rel required role
61
-rowSpan scrollLeft scrollTop selected size spellCheck src step style tabIndex
62
-target title type value width wmode
60
+rowSpan sandbox scope scrollLeft scrollTop seamless selected size span
61
+spellCheck src step style tabIndex target title type value width wmode
62
```
63
65
-The non-standard `autoCapitalize` attribute is supported for Mobile Safari.
64
+The non-standard `autoCapitalize` attribute is supported for Mobile Safari, and the `property` attribute is supported for Open Graph `<meta>` tags.
65
66
In addition, there is the React-specific attribute `dangerouslySetInnerHTML` ([more here](/react/docs/special-non-dom-attributes.html)), used for directly inserting DOM strings into a component.
67