From 311ca78a997f2d8b8de80778f05c87db444f1217 Mon Sep 17 00:00:00 2001 From: Jason Kratzer Date: Tue, 21 May 2024 17:36:15 -0400 Subject: [PATCH] feat(css): correct ray() syntax + add ray-size type (#723) feat: correct ray() syntax and add ray-size type --- css/syntaxes.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/css/syntaxes.json b/css/syntaxes.json index 8a21b4a0..8bf5d72f 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -621,7 +621,10 @@ "syntax": " [ / ]?" }, "ray()": { - "syntax": "{ && [closest-side | closest-corner | farthest-side | farthest-corner | sides] && contain? && [at [ left | center | right | top | bottom | ] | [ left | center | right ] && [ top | center | bottom ] | [ left | center | right | ] [ top | center | bottom | ] | [ [ left | right ] ] && [ [ top | bottom ] ]]" + "syntax": "ray( && ? && contain? && [at ]? )" + }, + "ray-size": { + "syntax": "closest-side | closest-corner | farthest-side | farthest-corner | sides" }, "relative-selector": { "syntax": "? "