You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the img element generated by createOptimizedPicture should contain width/height attributes.
Actual Behaviour
the current implementation of createOptimizedPicture generates images without specifying width/height attributes - google pagespeed complains about this, and it often leads to cumulative layout shift (CLS).
please note that the actual width/height of the source image is not part the URL that is used as src input parameter, and is not contained in the data generated by query-index.
The text was updated successfully, but these errors were encountered:
Expected Behaviour
the
img
element generated by createOptimizedPicture should containwidth
/height
attributes.Actual Behaviour
the current implementation of
createOptimizedPicture
generates images without specifyingwidth
/height
attributes - google pagespeed complains about this, and it often leads to cumulative layout shift (CLS).please note that the actual width/height of the source image is not part the URL that is used as
src
input parameter, and is not contained in the data generated by query-index.The text was updated successfully, but these errors were encountered: