Changeset 45363
- Timestamp:
- 05/18/2019 04:33:27 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/kses.php
r45242 r45363 2064 2064 * @since 5.1.0 Added support for `text-transform`. 2065 2065 * @since 5.2.0 Added support for `background-position` and `grid-template-columns` 2066 * @since 5.3.0 Added support for `flex`, `flex-grow`, `flex-shrink`, and `flex-basis`. 2066 2067 * 2067 2068 * @param string[] $attr Array of allowed CSS attributes. … … 2134 2135 'padding-top', 2135 2136 2137 'flex', 2138 'flex-grow', 2139 'flex-shrink', 2140 'flex-basis', 2141 2136 2142 'clear', 2137 2143 'cursor', -
trunk/tests/phpunit/tests/kses.php
r44156 r45363 831 831 'expected' => 'background: green url("foo.jpg") no-repeat fixed center', 832 832 ), 833 // `flex` and related attributes introduced in 5.3. 834 array( 835 'css' => 'flex: 0 1 auto;flex-basis: 75%;flex-shrink: 0;flex-grow: 1', 836 'expected' => 'flex: 0 1 auto;flex-basis: 75%;flex-shrink: 0;flex-grow: 1', 837 ), 833 838 ); 834 839 }
Note: See TracChangeset
for help on using the changeset viewer.