Skip to content

Commit

Permalink
Add fetchPriority to <img> and <link>
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Dec 22, 2022
1 parent 5fcf1a4 commit 5493c06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fixtures/attribute-behavior/src/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const possibleStandardNames = {
draggable: 'draggable',
enctype: 'encType',
enterkeyhint: 'enterKeyHint',
fetchpriority: 'fetchPriority',
for: 'htmlFor',
form: 'form',
formmethod: 'formMethod',
Expand Down

0 comments on commit 5493c06

Please sign in to comment.