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

WordPress Trac noreply at wordpress.org
Sun Jun 9 21:13:07 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-refresh 2nd-opinion  |     Focuses:
  commit                                         |
-------------------------------------------------+-------------------------

Comment (by birgire):

 Thanks for the patch @marybaum

 I collected a list of {{{grid}}} attributes in #46597 that might be of use
 here.

 Most of them are now already patched in [attachment:"kses-190609.patch"],
 so I've marked them with an {{{x}}}:

 {{{
 grid
 x grid-column
 x grid-row
 grid-area
 x grid-gap
 x grid-column-gap
 x grid-row-gap
 grid-template
 grid-template-areas
 x grid-template-columns
 grid-auto-columns
 grid-auto-rows
 grid-auto-flow
 x grid-column-start
 x grid-column-end
 x grid-row-start
 grid-row-end
 x justify-self
 x justify-items
 x justify-content
 x align-self
 x align-items
 x align-content
 place-self
 place-content

 }}}

 What do you think about the other ones on the list not marked with
 {{{x}}}?

 In [attachment:"kses-190609.patch"] I noticed there are two new empty
 lines added in few places. I guess it should only be single ones.

 There's also duplicate entry for {{{grid-column-start}}} in
 [attachment:"kses-190609.patch"]

 All the best.

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


More information about the wp-trac mailing list