mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #3022 from btholt/master
Added itemRef and itemId for complete microdata support.
This commit is contained in:
commit
7e6c820cd2
2 files changed
+8
-3
No files matched your search
@@ -164,11 +164,16 @@ var HTMLDOMPropertyConfig = {
|
||||
// keyboard hints.
|
||||
autoCapitalize: null,
|
||||
autoCorrect: null,
|
||||
// itemProp, itemScope, itemType are for Microdata support. See
|
||||
// http://schema.org/docs/gs.html
|
||||
// itemProp, itemScope, itemType, itemType, itemId are for
|
||||
// Microdata support. See http://schema.org/docs/gs.html
|
||||
itemProp: MUST_USE_ATTRIBUTE,
|
||||
itemScope: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
|
||||
itemType: MUST_USE_ATTRIBUTE,
|
||||
// itemID and itemRef are for Microdata support as well but
|
||||
// only specified in the the WHATWG spec document. See
|
||||
// https://html.spec.whatwg.org/multipage/microdata.html#microdata-dom-api
|
||||
itemID: MUST_USE_ATTRIBUTE,
|
||||
itemRef: MUST_USE_ATTRIBUTE,
|
||||
// property is supported for OpenGraph in meta tags.
|
||||
property: null
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user