Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#57103 closed defect (bug) (reported-upstream)

Broad selector for figure elements in WP 6.1

Reported by: gbaggaley's profile gbaggaley Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.1
Component: Formatting Keywords:
Focuses: css Cc:

Description

I've just updated a bunch of our websites to 6.1 and seen that there's an incredibly broad css selector for all figure elements introduced into ./wp-includes/css/dist/block-library/style.min.css:

figure {
    margin: 0 0 1em
}

This has broken the styling on multiple themes we've developed for clients.

The same issue also happened a few months ago for img elements (https://core.trac.wordpress.org/ticket/55229). Is there anything that can be done to prevent this happening again?

Change History (3)

#1 follow-up: @riccardodicurti
2 years ago

Hi @gbaggaley this issue should be reported on Gutenberg's GitHub repository: https://github.com/WordPress/gutenberg/issues

#2 in reply to: ↑ 1 @gbaggaley
2 years ago

Replying to riccardodicurti:

Hi @gbaggaley this issue should be reported on Gutenberg's GitHub repository: https://github.com/WordPress/gutenberg/issues

Apologies, posted to GitHub: https://github.com/WordPress/gutenberg/issues/45768

#3 @johnbillion
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Thanks @gbaggaley !

Note: See TracTickets for help on using tickets.