[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 11 07:46:50 UTC 2024


#61630: Elements: Maintain backwards compatibility by avoiding specificity bump for
top-level element-only selectors
-----------------------------+-----------------------------
 Reporter:  aaronrobertshaw  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  6.6.1
Component:  Editor           |    Version:  trunk
 Severity:  normal           |   Keywords:  gutenberg-merge
  Focuses:                   |
-----------------------------+-----------------------------
 When CSS specificity was capped at `0-1-0` for global styles via
 https://core.trac.wordpress.org/ticket/61165 it resulted in top-level
 element styles in some case having their specificity raised from `0-0-1`.

 This can be avoided and greater backwards compatibility maintained.

 More info on the issue this causes can be found in:
 - https://github.com/WordPress/gutenberg/issues/63345

 This ticket tracks the syncing of PHP changes for the fix contained in:
 - https://github.com/WordPress/gutenberg/pull/63403

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


More information about the wp-trac mailing list