Detect /
within values of a multi-value borderRadius
shorthand
#730
Labels
bug
Something isn't working
/
within values of a multi-value borderRadius
shorthand
#730
NOTE: This is a very specific, edge-case bug.
When in
styleResolution: 'legacy-expand-shorthands'
, we expand shorthand CSS properties into their constituent longhand properties. This includesborderRadius
.However, when splitting
borderRadius
, we treat a space separation to imply the next direction. This misses the edge-case that1px / 2px
is a valid value for a single corder when used in aborder-radius
.e.g.
borderRadius: '1px / 2px 3px 4px 5px'
should be split into:
The text was updated successfully, but these errors were encountered: