Make WordPress Core

#46906 closed defect (bug) (reported-upstream)

When 'fr' is in the additional CSS area, WordPress shows error.

Reported by: mrgarry05 Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.1.1
Component: Customize Keywords: has-screenshots
Focuses: administration Cc:


When I add something like

grid-template-columns: 80px auto 1fr;

in additional CSS. WordPress doesn't let me save add it and shows an error that RBRACE is missing before 'fr'.


Attachments (1)

wordpress bug.png (25.0 KB) - added by mrgarry05 15 months ago.
screenshot of the error

Download all attachments as: .zip

Change History (4)

15 months ago

screenshot of the error

#1 @birgire
15 months ago

As far as I understand this is based on CSSLint v1.0.4 and is still an open request upstream:


I tested the fr unit on http://csslint.net that uses the 1.0.3 version and I get a parsing error.

#2 @birgire
15 months ago

At first I thought this was related to #46597,

but according to #41874 it seems that safecss_filter_attr() is not yet involved here.

#3 @andraganescu
15 months ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from assigned to closed

This appears to be an issue with CSS Lint


For the moment it doesn't appear that there is any quickfix available.

Actually parser-lib has the issue open and unresolved:


Note: See TracTickets for help on using tickets.