mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #4942 from darobin/rdfa-attributes
Add RDFa attributes not already covered (fixes #3459)
This commit is contained in:
@@ -167,6 +167,19 @@ var HTMLDOMPropertyConfig = {
|
||||
wmode: MUST_USE_ATTRIBUTE,
|
||||
wrap: null,
|
||||
|
||||
/**
|
||||
* RDFa Properties
|
||||
*/
|
||||
about: MUST_USE_ATTRIBUTE,
|
||||
datatype: MUST_USE_ATTRIBUTE,
|
||||
inlist: MUST_USE_ATTRIBUTE,
|
||||
prefix: MUST_USE_ATTRIBUTE,
|
||||
// property is also supported for OpenGraph in meta tags.
|
||||
property: MUST_USE_ATTRIBUTE,
|
||||
resource: MUST_USE_ATTRIBUTE,
|
||||
typeof: MUST_USE_ATTRIBUTE,
|
||||
vocab: MUST_USE_ATTRIBUTE,
|
||||
|
||||
/**
|
||||
* Non-standard Properties
|
||||
*/
|
||||
@@ -186,8 +199,6 @@ var HTMLDOMPropertyConfig = {
|
||||
// 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,
|
||||
// results show looking glass icon and recent searches on input
|
||||
// search fields in WebKit/Blink
|
||||
results: null,
|
||||
|
||||
Reference in New Issue
Block a user