[wp-trac] [WordPress Trac] #65321: Global --wp--style--border--color Variable Applies Unwanted border-style: solid to Cover Block Background Span
WordPress Trac
noreply at wordpress.org
Sat May 23 16:43:59 UTC 2026
#65321: Global --wp--style--border--color Variable Applies Unwanted border-style:
solid to Cover Block Background Span
---------------------------+------------------------------
Reporter: vijaysinh9094 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 7.0
Severity: major | Resolution:
Keywords: needs-patch | Focuses: ui, css
---------------------------+------------------------------
Comment (by kunalpareek):
I am investigating this bug and setting up a local WordPress 7.0
environment to reproduce and trace the exact source of the border-style:
solid declaration on the Cover block background span.
My current understanding: when a global border color is defined in
theme.json or global styles, the CSS output pipeline may be emitting
border-style as a companion declaration even without an explicit border
style being set by the user. I am tracing this through class-wp-theme-
json.php, block-supports/border.php, and the style engine to identify the
exact insertion point.
Will follow up with a patch shortly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65321#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list