Description
The image and featured image block has block support for border color, radius and width.
The missing border style control causes problems for themes that has a border style that is more specific than the CSS that is output by the block library:
html :where([style*=border-width]) {
border-style: solid;
}
This can cause the border to not be visible.
Step-by-step reproduction instructions
Using WordPress 6.2 alpha and https://core.trac.wordpress.org/ticket/56487,
Activate Twenty Twenty or Twenty Twenty-One.
- Create a new post and add a featured image block.
- Add a border color, width and radius,
- Confirm that the style looks correct in the editor.
- Now please save and view the image on the front.
- Confirm that the border is not visible.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.2 Alpha
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
Description
The image and featured image block has block support for border color, radius and width.
The missing border style control causes problems for themes that has a border style that is more specific than the CSS that is output by the block library:
This can cause the border to not be visible.
Step-by-step reproduction instructions
Using WordPress 6.2 alpha and https://core.trac.wordpress.org/ticket/56487,
Activate Twenty Twenty or Twenty Twenty-One.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.2 Alpha
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