Skip to content

Conversation

Calme1709
Copy link
Contributor

The first two length values for text-shadow (x and y offsets) are allowed to be negative but the third value (blur) is not.

This behaviour is respected in all major browsers and is tested in WPT, see the second test here

…r radius

The first two length values for `text-shadow` (x and y offsets) are allowed to be negative but the third value (blur) is not.

This behaviour is respected in all major browsers and is tested in WPT, see the second test here: http://wpt.live/css/css-text-decor/text-shadow/parsing/text-shadow-invalid.html
@Loirooriol
Copy link
Contributor

box-shadow and L4 text-shadow are fine, since <shadow> already uses <length [0,∞]>.
So indeed it's just L3 text-shadow that is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants