[wp-trac] [WordPress Trac] #47367: KSES: Update CSS properties considered safe for all users.

WordPress Trac noreply at wordpress.org
Sun Sep 22 22:16:29 UTC 2019


#47367: KSES: Update CSS properties considered safe for all users.
----------------------------------------+-----------------------
 Reporter:  peterwilsoncc               |       Owner:  marybaum
     Type:  enhancement                 |      Status:  assigned
 Priority:  normal                      |   Milestone:  5.3
Component:  Editor                      |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------

Comment (by peterwilsoncc):

 In [changeset:"46235" 46235]:
 {{{
 #!CommitTicketReference repository="" revision="46235"
 KSES: Add support for modern layout techniques in `style` attribute.

 Adds support for `flex`, `grid` and `column` layout techniques to the list
 of CSS attributes considered safe for inline CSS. The `\` character and
 CSS functions, eg `minmax()` are not yet supported.

 Extends support of `border` properties to include `border-radius` and
 individual `background` properties to include all those implicitly
 supported by the shorthand attribute.

 Props mrahmadawais, marybaum, birgire, peterwilsoncc, azaozz.
 Fixes #37248.
 See #47367.
 }}}

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


More information about the wp-trac mailing list