[wp-trac] [WordPress Trac] #57103: Broad selector for figure elements in WP 6.1
WordPress Trac
noreply at wordpress.org
Mon Nov 14 14:00:07 UTC 2022
#57103: Broad selector for figure elements in WP 6.1
--------------------------+-----------------------------
Reporter: gbaggaley | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 6.1
Severity: normal | Keywords:
Focuses: css |
--------------------------+-----------------------------
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**:
{{{#!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?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57103>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list