[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
Wed May 27 06:01:54 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 reporter-feedback add- | Focuses: ui, css
to-field-guide |
-------------------------------------------------+-------------------------
Changes (by vijaysinh9094):
* keywords: needs-patch reporter-feedback => needs-patch reporter-feedback
add-to-field-guide
Comment:
Hi @hbhalodia and @jorbin,
As @deeppatel8950 has already reproduced the issue with screenshots, the
root cause is that the global styles pipeline emits a `--border-color` CSS
variable on the `.wp-block-cover__background` element even when no border
is explicitly configured by the user, which unintentionally triggers
`border-style: solid` on that element.
Hoping this clarifies the reporter-feedback and the `reporter-feedback`
keyword can now be removed.
Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65321#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list