[wp-trac] [WordPress Trac] #61630: Elements: Maintain backwards compatibility by avoiding specificity bump for top-level element-only selectors

WordPress Trac noreply at wordpress.org
Thu Jul 18 06:41:45 UTC 2024


#61630: Elements: Maintain backwards compatibility by avoiding specificity bump for
top-level element-only selectors
-------------------------------------------------+-------------------------
 Reporter:  aaronrobertshaw                      |       Owner:  noisysocks
     Type:  defect (bug)                         |      Status:  closed
 Priority:  high                                 |   Milestone:  6.6.1
Component:  Editor                               |     Version:  6.6
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by noisysocks):

 * owner:  (none) => noisysocks
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58749" 58749]:
 {{{
 #!CommitTicketReference repository="" revision="58749"
 Block Themes: Avoid specificity bump for top-level element-only selectors

 Prevent issues (e.g. links being underlined) caused by a bump in CSS
 specificity for top-level element-only global element styles.

 Backports the PHP changes from
 https://github.com/WordPress/gutenberg/pull/63403.

 Fixes #61630.
 Fixes #61660.
 Props aaronrobertshaw, andrewserong, noisysocks.
 }}}

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


More information about the wp-trac mailing list