[wp-trac] [WordPress Trac] #47727: Additional CSS warns about invalid CSS, though it's perfectly valid
WordPress Trac
noreply at wordpress.org
Wed Jul 17 18:49:44 UTC 2019
#47727: Additional CSS warns about invalid CSS, though it's perfectly valid
--------------------------+-----------------------------
Reporter: ZanderZ | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 5.2.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47727>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list