From b596b263c37047ed105d32e13e2561abb7111880 Mon Sep 17 00:00:00 2001 From: Callum Law Date: Mon, 15 Sep 2025 21:25:06 +1200 Subject: [PATCH] [css-text-decor-3] Update text-shadow syntax to disallow negative blur 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 --- css-text-decor-3/Overview.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css-text-decor-3/Overview.bs b/css-text-decor-3/Overview.bs index f67f98d836e..92622d58cbb 100644 --- a/css-text-decor-3/Overview.bs +++ b/css-text-decor-3/Overview.bs @@ -861,7 +861,7 @@ Text Shadows: the 'text-shadow' property
 	Name: text-shadow
-	Value: none | [ <>? && <>{2,3} ]#
+	Value: none | [ <>? && [ <>{2} <>? ] ]#
 	Initial: none
 	Applies to: text
 	Inherited: yes