[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
Wed Jun 11 01:42:19 UTC 2025


#62731: Inline CSS inserted by wp_print_auto_sizes_contain_css_fix too high in HTML
---------------------------------------------------+---------------------
 Reporter:  superpoincare                          |       Owner:  (none)
     Type:  enhancement                            |      Status:  new
 Priority:  normal                                 |   Milestone:  6.9
Component:  Media                                  |     Version:  6.7.1
 Severity:  minor                                  |  Resolution:
 Keywords:  has-patch needs-testing has-test-info  |     Focuses:
---------------------------------------------------+---------------------

Comment (by joemcgill):

 > I think it makes sense to still try to print the CSS early to preserve
 the CSS cascade.

 Agreed. This CSS is already an override for UA styles shipped with
 chromium browsers, but it should also be able to be modified by any
 extenders who have registered their own styles to override this rule.

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


More information about the wp-trac mailing list