#47727 closed defect (bug) (duplicate)
Additional CSS warns about invalid CSS, though it's perfectly valid
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 5.2.2 |
| Component: | Customize | Keywords: | |
| Focuses: | Cc: |
Description
Add the following to Customize -> Additional CSS:
.foo {
display: grid;
gap: 0.25em;
grid-gap: 0.25em;
grid-template-columns: repeat(4, 1fr);
}
WordPress will give an error that the CSS is invalid (Expected RBRACE at the position of 1fr) and gives a warning that gap and grid-gap are "Unknown property"s.
All of this is perfectly fine CSS and WordPress should not give an error/warning about this.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Proof of the error and warning