diff --git a/css/functions.json b/css/functions.json index 8fee9090..f9b9dc12 100644 --- a/css/functions.json +++ b/css/functions.json @@ -326,11 +326,11 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/radial-gradient" }, "ray()": { - "syntax": "ray( && ? && contain? )", + "syntax": "ray( && ? && contain? && [at ]? )", "groups": [ "CSS Motion Path" ], - "status": "experimental", + "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/ray" }, "repeating-linear-gradient()": { diff --git a/css/syntaxes.json b/css/syntaxes.json index aa1191d2..23f19d9a 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -621,7 +621,7 @@ "syntax": " [ / ]?" }, "ray()": { - "syntax": "ray( && ? && contain? )" + "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 ] ]]" }, "relative-selector": { "syntax": "? "