The feature lists lists Safari as incompatible while according to Webkit CSS status, the feature is implemented.
I also tested it in Safari 17.3 and it's working as expected. I would raise a PR, but I just can't find any reference to this on https://bugs.webkit.org, so I can only guess it came in v17 or earlier.