[wp-trac] [WordPress Trac] #62731: Inline CSS inserted by wp_print_auto_sizes_contain_css_fix too high in HTML

WordPress Trac noreply at wordpress.org
Tue Oct 7 06:47:22 UTC 2025


#62731: Inline CSS inserted by wp_print_auto_sizes_contain_css_fix too high in HTML
-------------------------------------------------+-------------------------
 Reporter:  superpoincare                        |       Owner:
                                                 |  westonruter
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.9
Component:  Media                                |     Version:  6.7.1
 Severity:  minor                                |  Resolution:  fixed
 Keywords:  has-patch has-test-info dev-         |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by westonruter):

 In [changeset:"60911" 60911]:
 {{{
 #!CommitTicketReference repository="" revision="60911"
 Media: Add test case for removing "img_auto_sizes_contain_css_fix" by
 dequeueing handle at `wp_enqueue_scripts`.

 From 6.9 and beyond, dequeueing the `wp-img-auto-sizes-contain` style
 handle would be preferable to removing the action at `wp_head`.

 Follow-up to [60910], [59435].

 See #62731, #62413.
 }}}

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


More information about the wp-trac mailing list