[csswg-drafts] [css-ui-4][css-images-4] `<string>` in `<image-set()>` and `<url-set>` (#7388)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-ui-4][css-images-4] `<string>` in `<image-set()>` and `<url-set>` ==
[CSS UI 4](https://drafts.csswg.org/css-ui-4/#typedef-cursor-url-set) defines `<url-set>` as *a limited version of `image-set()`, where only `<url>` and `<url-set>` can be used in the part of the `<image-set-option>` sub-production which would normally allow `<image>`*.

[CSS Images 4](https://drafts.csswg.org/css-images-4/#funcdef-image-set) defines that *each `<string>` inside `image-set()` represents a `<url>`*.

Is `image-set()` invalid if `<string>` does not represent a valid URL? If yes, I suggest *each `<string>` inside `image-set()` should represents a `<url>` otherwise the function is invalid*.

Is `<string>` valid in `<url-set>`?

I believe there is a small typo in the description of the part of `<image-set-option>` that corresponds to `type(<string>)`, in *an `<image-set-option>` like `url("picture.png") 1x format("image/jpeg")` is valid, [...]*: `format()` should be `type()`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7388 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 19 June 2022 13:02:04 UTC