You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2021/05/20 22:54:06 UTC

[GitHub] [incubator-pagespeed-mod] patrickhulce commented on issue #2068: HTML Width and Height are auto removed

patrickhulce commented on issue #2068:
URL: https://github.com/apache/incubator-pagespeed-mod/issues/2068#issuecomment-845533341


   Hi there! I think there's some confusion @Lofesa. 
   
   > because data:uris spec donĂ½ have dimensions.
   
   Lighthouse doesn't want width/height as part of the data URI, it wants width/height attributes as described in the OP's example that pagespeed mod appears to remove. Even if a data URL loads much faster, there is still a decode component that can be async and lead to layout shifts, seems worthwhile to preserve them at least.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org