[wp-trac] [WordPress Trac] #52676: Twenty Twenty-One: In WP 5.7 RC, the Cover block's inner container wrongly inherits the background-color of its parent.

WordPress Trac noreply at wordpress.org
Tue Mar 2 12:50:19 UTC 2021


#52676: Twenty Twenty-One: In WP 5.7 RC, the Cover block's inner container wrongly
inherits the background-color of its parent.
-------------------------------------------------+-------------------------
 Reporter:  dianeco                              |       Owner:  ryelle
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.7
Component:  Bundled Theme                        |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit      |     Focuses:  css
  dev-reviewed                                   |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"50469" 50469]:
 {{{
 #!CommitTicketReference repository="" revision="50469"
 Twenty Twenty-One: Correct inner container background color for Cover
 Blocks.

 Adjust the background color palette rules so they don't show up on inner
 containers when they're not supposed to:
 - When an inner container block is present, it only applies them to direct
 children of the block with the background color assigned.
 - Since the background color should only be applied to the Cover block's
 overlay, not to the inner container, it opts that specific block out of
 this rule.

 Props dianeco, kjellr, paaljoachim.
 Reviewed by ryelle, SergeyBiryukov.
 Merges [50466] to the 5.7 branch.
 Fixes #52676.
 }}}

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


More information about the wp-trac mailing list