[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 11:58:42 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:
Component:  Editor                               |     Version:  6.6
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * resolution:  duplicate => fixed


Comment:

 In [changeset:"58751" 58751]:
 {{{
 #!CommitTicketReference repository="" revision="58751"
 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.

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

 Reviewed by hellofromTonya.
 Merges [58749] to the 6.6 branch.

 Props aaronrobertshaw, andrewserong, noisysocks, annubis, butterflymedia,
 clarktbt, hellofromTonya, jorbin, joedolson, swissspidy, courane01,
 raquelandefeld, talldanwp, markhowellsmead, youknowriad, poena, cbirdsong.
 Fixes #61630, #61660.
 }}}

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


More information about the wp-trac mailing list