Make WordPress Core

Opened 4 years ago

Closed 4 years ago

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

Broad selector for figure elements in WP 6.1

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

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
4 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
4 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
4 years ago

  • Milestone Awaiting Review
  • Resolution → reported-upstream
  • Status new → closed

Thanks @gbaggaley !

Note: See TracTickets for help on using tickets.