[wp-trac] [WordPress Trac] #37248: KSES: Flex Properties for the List of Safe CSS Attributes
WordPress Trac
noreply at wordpress.org
Sun Sep 22 22:16:29 UTC 2019
#37248: KSES: Flex Properties for the List of Safe CSS Attributes
-------------------------------+-------------------------------------------
Reporter: mrahmadawais | Owner: peterwilsoncc
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Security | Version: 4.6
Severity: normal | Resolution: fixed
Keywords: has-patch dev- | Focuses: ui, administration, template
feedback |
-------------------------------+-------------------------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: new => closed
* resolution: => fixed
Comment:
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/37248#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list