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

Stylistic changes.

Brian Reavis committed May 8, 2014 at 23:25 UTC f399b682012cddd382b9bea2cb736be8e64f5b8f
2 files changed +12 -8
docs/docs/ref-04-tags-and-attributes.md
+10 -6
@@ -57,14 +57,18 @@ 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 itemProp itemScope itemType
61 -label lang list loop max maxLength method min multiple name noValidate
62 -pattern placeholder poster preload radioGroup readOnly rel required role
63 -rowSpan rows sandbox scope scrollLeft scrollTop seamless selected size span
64 -spellCheck src srcDoc step style tabIndex target title type value width wmode
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
65 ```
66
67 -In addition, the non-standard `autoCapitalize` and `autoCorrect` attributes are supported for Mobile Safari, and the `property` attribute is supported for Open Graph `<meta>` tags.
67 +In addition, the following non-standard attributes are supported:
68 +
69 +- `autoCapitalize autoCorrect` for Mobile Safari.
70 +- `property` for [Open Graph](http://ogp.me/) meta tags.
71 +- `itemProp itemScope itemType` for [HTML5 microdata](http://schema.org/docs/gs.html).
72
73 There is also the React-specific attribute `dangerouslySetInnerHTML` ([more here](/react/docs/special-non-dom-attributes.html)), used for directly inserting HTML strings into a component.
74
src/browser/ui/dom/HTMLDOMPropertyConfig.js
+2 -2
@@ -135,10 +135,10 @@ var HTMLDOMPropertyConfig = {
135 */
136 autoCapitalize: null, // Supported in Mobile Safari for keyboard hints
137 autoCorrect: null, // Supported in Mobile Safari for keyboard hints
138 - property: null, // Supports OG in meta tags
138 + itemProp: MUST_USE_ATTRIBUTE, // Microdata: http://schema.org/docs/gs.html
139 itemScope: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, // Microdata: http://schema.org/docs/gs.html
140 itemType: MUST_USE_ATTRIBUTE, // Microdata: http://schema.org/docs/gs.html
141 - itemProp: MUST_USE_ATTRIBUTE // Microdata: http://schema.org/docs/gs.html
141 + property: null // Supports OG in meta tags
142 },
143 DOMAttributeNames: {
144 className: 'class',