Inconsistency in Padding Application: Global Styles Applied to <td>
vs <figure>
Tag in Block Editor
#59439
Labels
[Block] Table
Affects the Table Block
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
Needs Testing
Needs further testing to be confirmed.
[Status] Stale
Gives the original author opportunity to update before closing. Can be reopened as needed.
[Type] Bug
An existing feature does not function as intended
Description
While working on #55047, it was observed that the padding from the Global styles is applied to the individual
<td>
s, but in the block editor, it is applied to the<figure>
tag, even after using the new Selectors API. This inconsistency seems to be an issue.The Global style and individual block-level styles should be applied to the same selectors to avoid issues like #50850, where the styles were not properly applied.
Step-by-step reproduction instructions
<td>
s.<figure>
tag.Screenshots, screen recording, code snippet
Block Editor (FSE, Global Styles)
Block Editor (Post, Block-Level Style)
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: