[wp-trac] [WordPress Trac] #59922: Twenty Nineteen is using CSS selectors that are no longer used in the editor

WordPress Trac noreply at wordpress.org
Thu Feb 15 22:32:16 UTC 2024


#59922: Twenty Nineteen is using CSS selectors that are no longer used in the
editor
-------------------------------------+-----------------------------
 Reporter:  poena                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  6.5
Component:  Bundled Theme            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  css
-------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Just noticed a little inconsistency in [57637]:
 {{{
 .editor-styles-wrapper .wp-block .wp-block-file .wp-block-file__textlink
 ...
 .editor-styles-wrapper .wp-block.wp-block-file .wp-block-file__button
 ...
 .editor-styles-wrapper .wp-block.wp-block-file .wp-block-
 file__textlink:hover
 }}}

 Note the space between `.wp-block` and `.wp-block-file`. Should it be
 there in the latter two selectors as well, or maybe removed from the first
 one?

 Same question here:
 {{{
 .editor-styles-wrapper .wp-block .wp-block-button
 ...
 .editor-styles-wrapper .wp-block.wp-block-quote:not(.is-large):not(.is-
 style-large),
 .editor-styles-wrapper .wp-block .wp-block-freeform blockquote
 ...
 .editor-styles-wrapper .wp-block.wp-block-pullquote.is-style-solid-
 color:not(.has-background-color)
 ...
 .editor-styles-wrapper .wp-block.wp-block-pullquote.is-style-solid-color
 a,
 .editor-styles-wrapper .wp-block.wp-block-cover a
 }}}

 Should there always be a space after `.wp-block` or not?

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


More information about the wp-trac mailing list