[wp-trac] [WordPress Trac] #42528: Customizer CSS can’t save CSS grid

WordPress Trac noreply at wordpress.org
Mon Nov 13 17:27:58 UTC 2017


#42528: Customizer CSS can’t save CSS grid
--------------------------+--------------------------
 Reporter:  kittmedia     |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.9
Component:  Customize     |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------------
Changes (by westonruter):

 * owner:   => westonruter
 * status:  new => accepted


Comment:

 It appears that CSSLint doesn't yet support the `fr` type:
 https://github.com/CSSLint/parser-lib/issues/228

 Three options I see here:

 1. Change from error to warning, to allow bad CSS to be saved.
 2. Try to filter out errors related to `fr`, however this doesn't seem to
 help in the case of `repeat(3, 1fr)`
 3. Add checkbox to dismiss error (or use dismissible notification) to
 allow saving to go through.

 I think option 3 is the best for now, and it aligns with how we're doing
 it when editing CSS in the file editor;

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42528#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list