-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
[Block] ImageAffects the Image BlockAffects the Image Block[Block] Post Featured ImageAffects the Post Featured Image BlockAffects the Post Featured Image Block[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
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
Metadata
Metadata
Assignees
Labels
[Block] ImageAffects the Image BlockAffects the Image Block[Block] Post Featured ImageAffects the Post Featured Image BlockAffects the Post Featured Image Block[Type] EnhancementA suggestion for improvement.A suggestion for improvement.