[wp-trac] [WordPress Trac] #61769: Global Styles: Prevent empty CSS rules and malformed selectors for custom css for blocks

WordPress Trac noreply at wordpress.org
Wed Sep 4 16:47:26 UTC 2024


#61769: Global Styles: Prevent empty CSS rules and malformed selectors for custom
css for blocks
-------------------------------------------------+-------------------------
 Reporter:  aaronrobertshaw                      |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.6.2
Component:  Editor                               |     Version:  6.6
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests has-testing-info commit fixed-major      |
  dev-reviewed                                   |
-------------------------------------------------+-------------------------

Comment (by jorbin):

 In [changeset:"58989" 58989]:
 {{{
 #!CommitTicketReference repository="" revision="58989"
 Editor: Update packages for 6.6.2 RC1.

 Updates the versions from the
 [https://github.com/WordPress/gutenberg/commit/a74a70ed203bbcbb5f3d34335df9631178647acb
 released packages] for the following bugfixes:

 - [https://github.com/WordPress/gutenberg/pull/63980 Global Styles: Fix
 block custom CSS pseudo element selectors]
 - [https://github.com/WordPress/gutenberg/pull/64463 Featured Image Block:
 Reduce CSS specificity]
 - [https://github.com/WordPress/gutenberg/pull/64076 Fix bumped
 specificity for layout styles in non-iframed editor]
 - [https://github.com/WordPress/gutenberg/pull/64379 Don't allow
 duplicating template parts in non-block-based themes]
 - [https://github.com/WordPress/gutenberg/pull/64250 Data Views: Don't
 render action modal when there are no eligible items]
 - [https://github.com/WordPress/gutenberg/pull/63724 Fix canvas issues by
 removing VisualEditor’s height]
 - [https://github.com/WordPress/gutenberg/pull/64992 Post Editor: fix
 click space after post content to append]
 - [https://github.com/WordPress/gutenberg/pull/63939 Post Editor: Prevent
 popover from being hidden by metabox]
 - [https://github.com/WordPress/gutenberg/pull/64639 Post editor: apply
 space below content using a pseudo-element instead of padding-bottom]
 - [https://github.com/WordPress/gutenberg/pull/64015 Avoid errors for post
 types without a 'menu_icon']
 - [https://github.com/WordPress/gutenberg/pull/64458 Update postcss-
 prefixwrap dependency to 1.51.0 to fix prefixing in :where selectors]

 Reviewed by jorbin, hellofromTonya.
 Merges [58988] to the 6.6 branch.

 Props vcanales.
 Fixes #61982.
 See #61704, #61769, #61829.
 }}}

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


More information about the wp-trac mailing list