From 5493c0683f8e86b4e75add0c4eb807edc04f80a7 Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 22 Dec 2022 16:19:45 -0500 Subject: [PATCH] Add `fetchPriority` to `` and `` --- fixtures/attribute-behavior/src/attributes.js | 3 +++ .../react-dom-bindings/src/shared/possibleStandardNames.js | 1 + 2 files changed, 4 insertions(+) diff --git a/fixtures/attribute-behavior/src/attributes.js b/fixtures/attribute-behavior/src/attributes.js index 6fc61700d3a4e..dd2b6e3f6bb5c 100644 --- a/fixtures/attribute-behavior/src/attributes.js +++ b/fixtures/attribute-behavior/src/attributes.js @@ -573,6 +573,9 @@ const attributes = [ tagName: 'path', read: getSVGAttribute('externalResourcesRequired'), }, + {name: 'fetchPriority', tagName: 'img'}, + {name: 'fetchpriority', tagName: 'img'}, + {name: 'fetchPriority', tagName: 'link', read: getProperty('fetchPriority')}, { name: 'fill', containerTagName: 'svg', diff --git a/packages/react-dom-bindings/src/shared/possibleStandardNames.js b/packages/react-dom-bindings/src/shared/possibleStandardNames.js index 6a6029fbcbb68..e1b76a0978baa 100644 --- a/packages/react-dom-bindings/src/shared/possibleStandardNames.js +++ b/packages/react-dom-bindings/src/shared/possibleStandardNames.js @@ -60,6 +60,7 @@ const possibleStandardNames = { draggable: 'draggable', enctype: 'encType', enterkeyhint: 'enterKeyHint', + fetchpriority: 'fetchPriority', for: 'htmlFor', form: 'form', formmethod: 'formMethod',