We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5382ce commit 5fd1bd7Copy full SHA for 5fd1bd7
src/loading-attribute-polyfill.js
@@ -132,8 +132,7 @@ function onPrinting() {
132
*/
133
function prepareElement(mediaTag) {
134
if (
135
- ((mediaTag.tagName?.toLowerCase() === 'img' ||
136
- mediaTag.tagName?.toLowerCase() === 'picture') &&
+ (mediaTag.tagName?.toLowerCase() === 'img' &&
137
!capabilities.loading.image) ||
138
(mediaTag.tagName?.toLowerCase() === 'iframe' &&
139
!capabilities.loading.iframe)
0 commit comments