[wp-trac] [WordPress Trac] #58551: Add kses support for complex CSS grid values including `repeat`, `auto-fill` and `auto-fit`

WordPress Trac noreply at wordpress.org
Fri Jun 16 06:41:19 UTC 2023


#58551: Add kses support for complex CSS grid values including `repeat`, `auto-
fill` and `auto-fit`
---------------------------+--------------------
 Reporter:  isabel_brison  |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  6.3
Component:  Formatting     |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+--------------------
 In order for the new grid layout type from Gutenberg
 https://github.com/WordPress/gutenberg/pull/49018 to work, kses needs to
 support a variety of grid values.

 For the current implementation only `repeat` and `auto-fill` are strictly
 necessary, but this may change in the future so it might be worth
 considering support for `auto-fit`, `max-`, `min-` and `fit-content`. The
 grid spec is getting built out fast, and soon there will also be good
 browser support for `subgrid`, with `masonry` following behind. See
 https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns for
 a list of possible values.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58551>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list