[wp-trac] [WordPress Trac] #62413: WordPress 6.7 Auto-sizes Reducing Image Sizes

WordPress Trac noreply at wordpress.org
Sun Nov 17 04:41:09 UTC 2024


#62413: WordPress 6.7 Auto-sizes Reducing Image Sizes
-------------------------------------------------+-------------------------
 Reporter:  dooperweb                            |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.7.1
Component:  Media                                |     Version:  6.7
 Severity:  normal                               |  Resolution:
 Keywords:  has-testing-info has-patch has-      |     Focuses:
  unit-tests                                     |  performance
-------------------------------------------------+-------------------------

Comment (by mukesh27):

 Just show that Google chrome adds CSS from browser side. Checked in
 `Version 130.0.6723.117` and  `131.0.6778.70` version.

 {{{
 img:is([sizes="auto" i], [sizes^="auto," i]) {
     contain: size !important;
     contain-intrinsic-size: 300px 150px;
 }
 }}}

 Do we still needs to add anything from our side?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62413#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list